Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gonryun,141,130,5 script Trader 828 ,{
- //set .bronze,673;//item id of bronze
- //set .gold,671;//item id of gold
- //set .platinum,677;//item id of platinum
- //set .poringcoin,7539;//item id of poring coin
- //set @header$,"[^0000ff Trader ^000000]";//NPC Name
- mes @header$;
- mes "Hello";
- menu "5 Bronze to 1Gold",-,"5 Gold to 1 Platinum",gtp,"5 Platinum to 1 Poring Coin",ptp;
- if(countitem(.bronze) < 5) goto L_NOTENOUGH;
- next;
- mes @header$;
- mes "Thanks. . See you again. . . !";
- delitem 673,5;
- getitem 671,1;
- close;
- gtp:
- if(countitem(.gold) < 5) goto L_NOTENOUGH;
- next;
- mes @header$;
- mes "Thanks. . See you again. . . !";
- delitem 671,5;
- getitem 677,1;
- close;
- ptp:
- if(countitem(.gold) < 5) goto L_NOTENOUGH;
- next;
- mes @header$;
- mes "Thanks. . See you again. . . !";
- delitem 677,5;
- getitem 7539,1;
- close;
- L_NOTENOUGH:
- next;
- mes @header$;
- mes "Not enough requirements";
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement