Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //===== Ragnarok Exchange Script =======================================
- //= Exchanger
- //===== By: ==================================================
- //= Rayan
- //===== Current Version: =====================================
- //= 1.0
- //===== Compatible With: =====================================
- //= eAthena and rAthena
- //===== Version History: =====================================
- //= v1.0
- //============================================================
- prontera,156,280,3 script Exchanger 60,{
- set .@name$,"[Exchanger]";
- mes .@name$;
- mes "Hi! What Can i Do For You?";
- menu "Change my Zeny into Items",go,"Nothing",ex;
- ex:
- next;
- mes .@name$;
- mes "Okay Bye!";
- close;
- go:
- next;
- mes .@name$;
- mes "What Do you want To Be Changed?";
- menu "30 Jellopy - 900.000zeny ",jp,"30 Orcish Voucher - 3 Mil",ov;
- jp:
- next;
- mes .@name$;
- mes "Please Input The Number of Jellopy You Need";
- input .@t;
- logmes .@t +" SC with "+ Zeny +" Zeny";
- if (checkweight(931,.@t)) {
- if( Zeny < 30000*.@t ){mes "You dont have enough zeny."; close; }
- set Zeny,Zeny-30000*.@t;
- getitem 909,.@t;
- } else {
- mes "You don't have enough space in your inventory.";
- }
- close;
- ov:
- next;
- mes .@name$;
- mes "Please Input The Number of Orcish Voucher You Need";
- input .@t;
- logmes .@t +" SC with "+ Zeny +" Zeny";
- if (checkweight(931,.@t)) {
- if( Zeny < 100000*.@t ){mes "You dont have enough zeny."; close; }
- set Zeny,Zeny-100000*.@t;
- getitem 931,.@t;
- } else {
- mes "You don't have enough space in your inventory.";
- }
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement