Guest User

Untitled

a guest
Dec 17th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. //===== eAthena Script =======================================
  2. //= Currency Exchanger Script
  3. //===== By: ==================================================
  4. //= Modified and Customized by Admin Mickey & Sora [QM]
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= KingdomRO
  9. //===== Additional Comments: =================================
  10. //= Hope you like it =D
  11. //============================================================
  12.  
  13. prontera,129,214,5 script Munny Exchanger 757,{
  14. mes "[^0000FFKalie the Munny Exchanger^000000]";
  15. mes "Hey! Do ya got any zeny? ";
  16. mes "I'll give you 1 piece of Munny, for ^0000FF10,000,000 ^000000Zeny. ";
  17. next;
  18. //menu "^00BB00Exchange Munny for Zeny^000000",L_check,"^0000FFExchange Zeny for Munny^000000",L_check2,"Maybe later",L_quit;
  19. Switch(select("^00BB00Exchange Munny for Zeny^000000:^0000FFExchange Zeny for Munny^000000:Maybe later")
  20. case 1:
  21. //L_check:
  22. mes "[^0000FFKalie the Munny Exchanger^000000]";
  23. mes "I can only take ^FF000050^000000 pieces of Munny at a time. ";
  24. input .@mamount;
  25. if (countitem(25005) < .@mamount) goto L_manque;
  26. if (.@mamount < 0 || .@mamount > 50) { mes "You don't have enough Zeny to make the Munny Orbs..."; close;
  27. if ((Zeny + (10000000* .@mamount)) > 1999999999) { mes "I don't think I can carry that much."; close; }
  28. mes "Thankies!";
  29. emotion 37;
  30. delitem 25005,.@mamount;
  31. set Zeny, (Zeny + (10000000* .@mamount));
  32. close;
  33. break;
  34. case 2:
  35. //L_check2:
  36. if(Zeny < 10000000) goto L_manque2;
  37. mes "[^0000FFKalie the Munny Exchanger^000000]";
  38. mes "Tell me how much zeny, in increments of ^00BB0010M^000000, you'll give me.";
  39. mes "I can only take ^FF000050^000000 at the Most.";
  40. input .@mamount;
  41. if (Zeny < (.@mamount * 10000000)){ mes "You don't have enough Zeny to make the Munny Orbs..."; close;
  42. if (.@mamount < 0 || .@mamount > 50) { mes "I don't think I can carry that much."; close; }
  43. set Zeny,(Zeny - (10000000* .@mamount));
  44. emotion 38;
  45. mes "Alrighty!";
  46. getitem 25005,.@mamount;
  47. close;
  48. break;
  49. Default: close; break;
  50.  
  51.  
  52. /*
  53. L_manque:
  54. emotion 76;
  55. mes "You don't have enough Munny Orbs to make the Zeny...";
  56. close;
  57.  
  58. L_manque2:
  59. emotion 76;
  60. mes "You don't have enough Zeny to make the Munny Orbs...";
  61. close;
  62.  
  63. L_No:
  64. emotion 28;
  65. mes "I don't think I can carry that much.";
  66. close;
  67. L_No2:
  68. emotion 40;
  69. mes "I don't think YOU can carry that much.";
  70. close;
  71.  
  72. L_quit:
  73. emotion 33;
  74. mes "[^0000FFKalie the Munny Exchanger^000000]";
  75. mes "Okee-dokey!";
  76. close;
  77. */
  78. }
Add Comment
Please, Sign In to add comment