Yoga Posted November 23, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 1 Joined: 06/06/12 Last Seen: November 8, 2016 Share Posted November 23, 2012 (edited) how to make cash point to zeny? and zeny to change point Example: 1000 Cash Point > 10m Zeny 10m Zeny > 1000 Cash Point Edited November 23, 2012 by Trandscend Quote Link to comment Share on other sites More sharing options...
jTynne Posted November 23, 2012 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 399 Reputation: 199 Joined: 11/09/11 Last Seen: December 14, 2020 Share Posted November 23, 2012 if(#CASHPOINTS >= 1000) { set Zeny,Zeny+10000000; set #CASHPOINTS,#CASHPOINTS-1000; } if(Zeny >= 10000000) { set Zeny,Zeny-10000000; set #CASHPOINTS,#CASHPOINTS+1000; } 1 Quote Link to comment Share on other sites More sharing options...
Yoga Posted November 24, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 1 Joined: 06/06/12 Last Seen: November 8, 2016 Author Share Posted November 24, 2012 (edited) . 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 November 24, 2012 by Trandscend Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted November 24, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted November 24, 2012 if you do an input you must put a convertion of 1 point.. example 1 points = 100z 1 Quote Link to comment Share on other sites More sharing options...
Yoga Posted November 24, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 1 Joined: 06/06/12 Last Seen: November 8, 2016 Author Share Posted November 24, 2012 @GM Takumirai Oh, can give me example script? Quote Link to comment Share on other sites More sharing options...
Dastgir Posted November 24, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 331 Reputation: 63 Joined: 11/29/11 Last Seen: Saturday at 10:21 AM Share Posted November 24, 2012 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 1 Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted November 24, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted November 24, 2012 (edited) here's a rip script, i don't know if its work.. sorry for my noobish script 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 - sorry for my noobish script Edited November 24, 2012 by GM Takumirai 1 Quote Link to comment Share on other sites More sharing options...
Dastgir Posted November 24, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 331 Reputation: 63 Joined: 11/29/11 Last Seen: Saturday at 10:21 AM Share Posted November 24, 2012 (edited) Here's a Full script. Exchanger.txt Edited November 24, 2012 by Dastgir Pojee 1 Quote Link to comment Share on other sites More sharing options...
Yoga Posted November 24, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 1 Joined: 06/06/12 Last Seen: November 8, 2016 Author Share Posted November 24, 2012 (edited) Dastgir Pojee,GM Takumirai Thank You Edited November 24, 2012 by Trandscend Quote Link to comment Share on other sites More sharing options...
Question
Yoga
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 TrandscendLink to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.