Emistry

Untitled

Aug 25th, 2012
366
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. prontera,154,188,5 script eKoin Exchanger 416,{
  2. mes "[eKoin Exchanger]";
  3. mes "Hello there "+strcharinfo(0);
  4. mes "1 eKoin is equivalent to 100 Poring Coin";
  5. next;
  6. switch(select("(eKoin) to (Poring Coin):(Poring Coin) to (eKoin)")) {
  7. Case 1:
  8. input @eKoin,0,countitem(7517);
  9. if (@eKoin == 0){
  10. mes "[eKoin Exchanger]";
  11. mes "Come back when you have coins to exchange.";
  12. }else{
  13. getitem 7539, (100 * @eKoin);
  14. delitem 7517, @eKoin;
  15. dispbottom "Poring Coin Exchange Finished";
  16. }
  17. close;
  18.  
  19. Case 2:
  20. input @coin,0,( countitem(7539)/100 );
  21. if (@coin == 0){
  22. mes "[eKoin Exchanger]";
  23. mes "Come back when you have coins to exchange.";
  24. }else{
  25. getitem 7517, @coin;
  26. delitem 7539, (100 * @coin);
  27. dispbottom "eKoin Exchange Finished";
  28. }
  29. close;
  30. }
  31. close;
  32. }
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment