Yoga Posted November 23, 2012 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
jTynne Posted November 23, 2012 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
Yoga Posted November 24, 2012 Author 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
GM Takumirai Posted November 24, 2012 Posted November 24, 2012 if you do an input you must put a convertion of 1 point.. example 1 points = 100z 1 Quote
Yoga Posted November 24, 2012 Author Posted November 24, 2012 @GM Takumirai Oh, can give me example script? Quote
Dastgir Posted November 24, 2012 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
GM Takumirai Posted November 24, 2012 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
Dastgir Posted November 24, 2012 Posted November 24, 2012 (edited) Here's a Full script. Exchanger.txt Edited November 24, 2012 by Dastgir Pojee 1 Quote
Yoga Posted November 24, 2012 Author Posted November 24, 2012 (edited) Dastgir Pojee,GM Takumirai Thank You Edited November 24, 2012 by Trandscend Quote
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 Trandscend8 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.