Jump to content
  • 0

Cash Point to Zeny


Yoga

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

how to make cash point to zeny?

and zeny to change point

Example:

1000 Cash Point > 10m Zeny

10m Zeny > 1000 Cash Point

Edited by Trandscend
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

if(#CASHPOINTS >= 1000) {

set Zeny,Zeny+10000000;

set #CASHPOINTS,#CASHPOINTS-1000;

}

if(Zeny >= 10000000) {

set Zeny,Zeny-10000000;

set #CASHPOINTS,#CASHPOINTS+1000;

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

.

I actually want to use the input # CASHPOINTS;

Example:

Zeny;

input #CASHPOINTS;

if (-zeny > +#Cashpoints); <example ONLY

Points;

input #zeny;

if (#CASHPOINTS > +Zeny); <example ONLY

Can Someone Help Me?

Every 10m Zeny got 1k Cashpoint

Minimal Exchange 10m Up to Limited Cashpoints

Edited by Trandscend
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

if you do an input you must put a convertion of 1 point..

example 1 points = 100z

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

@GM Takumirai

Oh, can give me example script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

PointToZeny:
dispbottom "You can get "+#CASHPOINTS*10000+" zeny";
mes "How Much Point you want to convert?";
mes "1 Point = 10k zeny";
input @ptc;
if (#CASHPOINTS >= @ptc){
set #CASHPOINTS,#CASHPOINTS-@ptc;
set zeny,zeny+@ptc*10000;
dispbottom "Current Points:"+#CASHPOINTS;
dispbottom "Current Zeny:"+zeny;
close;
}
else{
mes "You don't have enough cash points";
}
close;
ZenyToPoints:
dispbottom "You can get "+zeny/10000+" Points";
mes "How Much Point you want?";
mes "1 Point = 10k zeny";
input @ptc;
if (zeny >= @ptc*10000){
set #CASHPOINTS,#CASHPOINTS+@ptc;
set zeny,zeny-@ptc*10000;
dispbottom "Current Points:"+#CASHPOINTS;
dispbottom "Current Zeny:"+zeny;
close;
}
else{
mes "You don't have enough zeny";
}
close;

1 Point = 10k Zeny i.e 1000 Cash Point = 10m Zeny

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

here's a rip script, i don't know if its work.. sorry for my noobish script :D

						  
set @minnumber,1;
set @maxnumber,10;
set @input, input(@number, @minnumber, @maxnumber);

mes "[Mr. Trader]";
mes "Please Input your desired points, the minimum is 1 and maximum is 10 points";
next;
mes "Do you want to trade?";
switch(select("Yes:Cancel:What is the convertion?")) {
case 1:
if(.@input == 1) {
set Zeny,Zeny+100;
set #CASHPOINTS,#CASHPOINTS-1;
}
if(.@input == 2) {
set Zeny,Zeny+200;
set #CASHPOINTS,#CASHPOINTS-2;
}
if(.@input == 3) {
set Zeny,Zeny+300;
set #CASHPOINTS,#CASHPOINTS-3;
}
if(.@input == 4) {
set Zeny,Zeny+400;
set #CASHPOINTS,#CASHPOINTS-4;
}
if(.@input == 5) {
set Zeny,Zeny+500;
set #CASHPOINTS,#CASHPOINTS-5;
}
if(.@input == 6) {
set Zeny,Zeny+600;
set #CASHPOINTS,#CASHPOINTS-6;
}
if(.@input == 7) {
set Zeny,Zeny+700;
set #CASHPOINTS,#CASHPOINTS-7;
}
if(.@input == 8) {
set Zeny,Zeny+800;
set #CASHPOINTS,#CASHPOINTS-8;
}
if(.@input == 9) {
set Zeny,Zeny+900;
set #CASHPOINTS,#CASHPOINTS-9;
}
if(.@input == 10) {
set Zeny,Zeny+1000;
set #CASHPOINTS,#CASHPOINTS-10;
}
close;

case 2:
mes "Come back again.";
close;
case 3:
mes "[Mr. Trader]";
mes "Here is the convertion.";
mes "1 Point = 100z.";
close;
}

Dastgir script is better :D

- sorry for my noobish script :D

Edited by GM Takumirai
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Here's a Full script.

Exchanger.txt

Edited by Dastgir Pojee
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  

Dastgir Pojee,GM Takumirai Thank You

Edited by Trandscend
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...