FuiJin1998 Posted September 20, 2013 Share Posted September 20, 2013 Hi guys...i want to ask for a request... help me make (Zeny buy poring coin) price 50m each coin... (poring coin sale back to the shop) price 25m each coin... mean if i buy the poring coin is 50m, then i if i sale it back is half of the price... thx you Quote Link to comment Share on other sites More sharing options...
Sanasol Posted September 20, 2013 Share Posted September 20, 2013 prontera,160,180,5 script TCG Trader 757,{ set .max_zeny,1000000000; set [email protected],500000000; mes "[^0000FFTrader^000000]"; mes "I can change ur TCG <> Zeny"; //mes "or Zeny to TCG"; mes "1 TCG = 500kk Zeny"; //mes "I see u have: ^00FF00 "+countitem(7227)+"^000000 TCG"; //mes "and Zeny: ^FF0000"+Zeny+"^000000"; mes "So what do u want?"; switch( select("^00FF00TCG^000000 > ^FF0000Zeny^000000","^FF0000Zeny^000000 > ^00FF00TCG^000000","Quit")) { case 1: set [email protected],(( .max_zeny - Zeny ) / [email protected] ); mes "You can change maximum "[email protected]+" x ^00FF00TCG^000000"; next; mes "[^0000FFTrader^000000]"; mes "What count of ^00FF00TCG^000000 u wanna change?(It cant be more than 2 at a time)"; input @count,0,[email protected]; if(@count > [email protected] || @count <= 0) { mes "Sorry I cant do that, u've too many Zeny or dont have TCG"; close; } else { if(countitem(7227) < @count) { mes "You scammer, wanted to deceive me? GTFO"; close; } else { delitem 7227,@count; set Zeny,Zeny+([email protected]*@count); mes "Ok, get ur ^FF0000Zeny^000000. Bye!"; close; } } close; break; case 2: set [email protected],(Zeny / [email protected] ); mes "You can get maximum "[email protected]+" x ^00FF00TCG^000000"; next; mes "[^0000FFTrader^000000]"; mes "What count of ^00FF00TCG^000000 u wanna get?"; input @count,0,[email protected]; if(@count > [email protected] || @count <= 0) { mes "Sorry I cant do that, U dont have enough ^FF0000Zeny^000000"; close; } else { if(Zeny < @count*[email protected]) { mes "You scammer, wanted to deceive me? GTFO"; close; } else { getitem 7227,@count; set Zeny,Zeny-([email protected]*@count); mes "Ok, get ur ^00FF00TCG^000000. Bye!"; close; } } close; break; case 3: mes "[^0000FFTrader^000000]"; mes "Good bye!"; close; break; } } lil bit of edit and it will like you want Quote Link to comment Share on other sites More sharing options...
Hi guys...i want to ask for a request...
help me make
(Zeny buy poring coin) price 50m each coin...
(poring coin sale back to the shop) price 25m each coin...
mean if i buy the poring coin is 50m,
then i if i sale it back is half of the price...
thx you
Link to comment
Share on other sites