Advertisement
akbare

[Ragnarok] FIND THE MUSHROOM

Jan 25th, 2013
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. //Created by marikitangakak
  2. //Edited and Revised by Lunar from MoonlightRO
  3. //Original Link: [url="http://www.eathena.ws/board/index.php?showtopic=243601"]http://www.eathena.w...howtopic=243601[/url]
  4. //Edited and Revised Script Link: [url="http://www.eathena.ws/board/index.php?showtopic=243753"]http://www.eathena.w...howtopic=243753[/url]
  5. //Please do not take this script as your own.
  6.  
  7.  
  8. louyang,238,111,4 script Find the Mushroom 1084,{
  9. mes "[ Find The Mushroom ]";
  10. if(getgmlevel() < 50) {
  11. if(.Event==0) mes "There is no Find the Mushroom event.";
  12. else {
  13. mes "There is a Find the Mushroom event on now!";
  14. mes "Location: "+ .Map$;
  15. mes "Prize: " + getitemname(.ItemID);
  16. mes "Number of Mushrooms: " + .Mushrooms;
  17. }
  18. close;
  19. }
  20. mes "Hello "+strcharinfo(0)+"! Please customize this event:";
  21. Main:
  22. next;
  23. mes "[ Find The Mushroom ]";
  24. switch(select("Item [" + getitemname(.ItemID) + "]:Start Event:End Event")) {
  25. case 1:
  26. mes "Which item would you like the Mushroom to drop?";
  27. mes "Please input the item ID:";
  28. input .ItemID;
  29. goto Main;
  30. case 2:
  31. mes "Starting the event now...";
  32. set .Event,1;
  33. close2;
  34. goto onstart;
  35.  
  36. case 3:
  37. mes "Ending the event now...";
  38. if(.Event) announce ""+strcharinfo(0)+" ended Find the Mushroom Event!",bc_all;
  39. killmonster .Map$,"All";
  40. set .Event,0;
  41. close;
  42. }
  43. OnMinute51: //CHANGE THIS TO THE MINUTE YOU WOULD LIKE THIS EVENT TO LOAD!
  44. OnMinute20:
  45. onstart:
  46. announce "Find the Mushroom : It's time to play Find the Mushroom!",0;
  47. sleep2 1000;
  48. set $@ran, rand(1,11);
  49. if ($@ran == 11) set .Map$,"splendide";
  50. if ($@ran == 10) set .Map$,"hugel";
  51. if ($@ran == 9) set .Map$,"yuno";
  52. if ($@ran == 8) set .Map$,"comodo";
  53. if ($@ran == 7) set .Map$,"xmas";
  54. if ($@ran == 6) set .Map$,"aldebaran";
  55. if ($@ran == 5) set .Map$,"izlude";
  56. if ($@ran == 4) set .Map$,"payon";
  57. if ($@ran == 3) set .Map$,"geffen";
  58. if ($@ran == 2) set .Map$,"morocc";
  59. if ($@ran == 1) set .Map$,"prontera";
  60. sleep2 1000;
  61. set $@ran2, rand(1,5);
  62. if ($@ran2 == 5) set .Mushrooms,"5";
  63. if ($@ran2 == 4) set .Mushrooms,"4";
  64. if ($@ran2 == 3) set .Mushrooms,"3";
  65. if ($@ran2 == 2) set .Mushrooms,"2";
  66. if ($@ran2 == 1) set .Mushrooms,"1";
  67. announce "Find the Mushroom : The Mushroom has spawned in "+ .Map$ +"!",0;
  68. sleep2 10000;
  69. announce "Find the Mushroom : " + .Mushrooms + " Mushrooms have spawned in "+ .Map$ +"!",0;
  70. sleep2 10000;
  71. monster .Map$,0,0,"Don't kill me please!",1084,.Mushrooms,"Find the Mushroom::OnMobKilled";
  72. end;
  73. OnMobKilled:
  74. mapannounce .Map$,"We've got a winner: " + strcharinfo(0) + " Congrats!",0;
  75. set zeny,zeny+10000000;
  76. getitem .ItemID,2;
  77. set .Event,0;
  78. end;
  79. }
  80. louyang,240,111,4 script Super Mario... 1084,{
  81. mes "[Mushroom]";
  82. mes "Hi, look at you chat window!";
  83. dispbottom "Where's Mario? MEXICO!!";
  84. close;
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement