Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- market,92,119,4 script Cash Trader 70,{
- mes "[Cash Trader]";
- mes "I can exchange ^5500ff Poring Coins to Cash Points^000000.";
- mes "Cash Points can be spent in the Cash Shop in exchange for items.";
- dispbottom "Current Cash Points: " + #CASHPOINTS;
- next;
- L_MEN:
- mes "[Cash Trader]";
- mes "Do you want to trade your ^5500ff Poring Coins to Cash Points?^000000";
- next;
- menu "Yes.",-,"What can I buy with Cash Points?",L_INF,"Not right now.",L_OUT;
- mes "[Cash Trader]";
- mes "The exchange rate is^5500ff 1 Poring Coin^000000 = ^00aa001 Cash Point^000000.";
- mes "How many Coupon do you want to exchange? Input 0 to cancel.";
- next;
- input @coinschange;
- if(@coinschange == 0) goto L_OUT;
- //==========================================================================================
- // If you want to change the item ID of the Gold Coin, edit here. (Current ID is 671)
- //==========================================================================================
- if(countitem(7539) < @coinschange) goto L_NOTENOUGH;
- delitem 7539,@coinschange;
- //==========================================================================================
- // If you want to change the echange rate, edit here. (Current rate is 1 Coin = 500 Cash)
- // If you DO change the rate, don't forget to change the dialogue too!
- //==========================================================================================
- set @pointsget,@coinschange * 1;
- set #CASHPOINTS,#CASHPOINTS+@pointsget;
- mes "[Cash Trader]";
- mes "The exchange was successfull. You can now purchase items at the Cash Shop.";
- dispbottom "Gained Cash Points. Current Cash Points: " + #CASHPOINTS;
- close;
- L_INF:
- mes "[Cash Trader]";
- mes "Cash Points can be used to buy rare items at the Cash Shop.";
- mes "If you want to check what items are available, talk to the Cash Shop NPC.";
- next;
- goto L_MEN;
- L_NOTENOUGH:
- mes "[Cash Trader]";
- mes "You do not have enough Poring Coins.";
- close;
- L_OUT:
- mes "[Cash Trader]";
- mes "Come back when you have Poring Coins to exchange.";
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement