Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,100,100,5 script Trader 1002,{
- switch(select("TCG to Zeny:Zeny to TCG")) {
- case 1:
- mes "I will need 1x TCG for 20 Million Zeny.";
- if(countitem(7227) >= 1) {
- delitem 7227,1;
- set Zeny,zeny+20000000;
- close;
- }
- mes "You do not have enough TCG.";
- close;
- case 2:
- mes "I will need 20 Million Zeny for 1x TCG.";
- if(Zeny > 20000000) {
- set Zeny,zeny-20000000;
- getitem 7227,1;
- close;
- }
- mes "You do not have enough Zeny.";
- close;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement