Werdio Posted January 10, 2013 Posted January 10, 2013 Hi, I want to add a itemscript for a silver coin. I should looks like this: onklick getzeny 1.000.000 I just want to make a usable coin item where you get zeny on klicking. Thank you and sorry for my badass English :S Quote
Kyo Posted January 10, 2013 Posted January 10, 2013 (edited) This are the scripts I used to use years ago: 671,Silver,Silver Coin,2,,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if((Zeny+(50000000))<(1000000001)){set Zeny,Zeny+(50000000);}else{dispbottom "Your zeny would go above 1,000,000,000 if you use this!"; getitem 671,1; } },{},{} 673,Gold,Gold Coin,2,,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if((Zeny+(100000000))<(1000000001)){set Zeny,Zeny+(100000000);}else{dispbottom "Your zeny would go above 1,000,000,000 if you use this!"; getitem 673,1; } },{},{} 675,Platinum,Platinum Coin,2,,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if((Zeny+(500000000))<(1000000001)){set Zeny,Zeny+(500000000);}else{dispbottom "Your zeny would go above 1,000,000,000 if you use this!"; getitem 675,1; } },{},{} 677,Bronze,Bronze Coin,2,,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ if((Zeny+(10000000))<(1000000001)){set Zeny,Zeny+(10000000);}else{dispbottom "Your zeny would go above 1,000,000,000 if you use this!"; getitem 677,1; } },{},{} You might have to change the values to your needs. Edited January 10, 2013 by Kyo Quote
eJay Posted January 11, 2013 Posted January 11, 2013 (edited) how about silver coin exchanger npc with check weight prontera,150,150,5 script Platinum Exchanger 872,{ mes "[Coin Exchanger]"; mes "I Can Change Coins and Zeny"; next; mes "[Coin Exchanger]"; mes "Do You Want To Continue?"; menu "Yes",-,"No",G_no; next; mes "[Coin Exchanger]"; mes "What Do You Want?"; mes "1,000,000 = 1 Silver Coin"; menu "Silver Coin To Zeny",-,"Zeny To Silver Coin",ztc; next; mes "[Coin Exchanger]"; mes "Put the Number of Coin you Need"; input .@t; if( .@t < 0 )||( countitem(675) < .@t ){ close; } set Zeny,Zeny+1000000*.@t; delitem 675,.@t; ztc: mes "[Coin Exchanger]"; mes "Put The Number of Coin to be Change"; input .@t; if (checkweight(675,.@t)) { if( Zeny < 1000000*.@t ){ close; } set Zeny,Zeny-1000000*.@t; getitem 675,.@t; } else { mes "You don't have enough space in your inventory."; } close; G_no: mes "[Coin Exchanger]"; mes "Please use my service next time"; close; end; } Edited January 11, 2013 by eJay Quote
sync Posted January 12, 2013 Posted January 12, 2013 · Hidden by Euphy, January 12, 2013 - Non-English Hidden by Euphy, January 12, 2013 - Non-English graças, ami me serviu be
Question
Werdio
Hi,
I want to add a itemscript for a silver coin.
I should looks like this:
onklick getzeny 1.000.000
I just want to make a usable coin item where you get zeny on klicking.
Thank you and sorry for my badass English :S
4 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.