Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,100,100,5 script Trader 1002,{
- switch(select("Coupon to Ygg:Ygg to Coupon")) {
- case 1:
- mes "I will need 1x Coupon for 400x Yggdrasil Berry.";
- if(countitem(7037) >= 1) {
- delitem 7037,1;
- getitem 607,400;
- close;
- }
- mes "You do not have enough Coupon.";
- close;
- case 2:
- mes "I will need 400x Yggdrasil Berry for 1x Coupon.";
- if(countitem(607) >= 400) {
- delitem 607,400;
- getitem 7037,1;
- close;
- }
- mes "You do not have enough Yggdrasil Berry.";
- close;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement