Advertisement
Guest User

Untitled

a guest
Nov 14th, 2011
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. //Credits to Putera //Do Not Erase //Do Not Sell/Own The Script
  2. welgaia,164,236,5 script Bank Note Exchanger 416,{
  3.  
  4. mes "[Bank Note Exchanger]";
  5. mes "Hi!";
  6. mes "1 Bank Note = 1m Zeny";
  7. mes "Also have Cap for Exchange";
  8. mes "Bank Note Exchange / 200 pcs";
  9. mes "Zeny Exchange / 2,000,000,000";
  10. switch(select("Bank Notes = Zeny:Zeny = Bank Notes")) {
  11. Case 1:
  12. mes "[Bank Note Exchanger]";
  13. mes "How many Bank Note's to exchange?";
  14. next;
  15. do{
  16. input @BankNote,0,countitem(25054);
  17. if( @BankNote < 1 ) close;
  18. }while( ( ( @BankNote * 1000000 ) + Zeny ) > 2000000000 );
  19. next;
  20. mes "[Bank Note Exchanger]";
  21. mes "Thanks";
  22. delitem 25054,@BankNote;
  23. set Zeny, Zeny + ( @BankNote * 1000000 );
  24. close;
  25.  
  26. Case 2:
  27. mes "[Bank Note Exchanger]";
  28. mes "How much Zeny to convert to Bank Note's?";
  29. next;
  30. input @BankNote,0,( Zeny / 1000000 );
  31. if( @BankNote < 1 ) close;
  32. next;
  33. mes "[Bank Note Exchanger]";
  34. mes "Thanks.";
  35. set Zeny, Zeny - ( @BankNote * 1000000);
  36. getitem 25054,@BankNote;
  37. close;
  38. }
  39. close;
  40. }
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement