Got an iPhone or iPad? We have a brand new Pastebin App for both devices, and it's totally free! Click here to download the new Pastebin App for iOS.
Guest

Untitled

By: a guest on Feb 9th, 2010  |  syntax: None  |  size: 3.29 KB  |  hits: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. //St. Patrick's Day
  2. //Written by DerLoisl @ irc.freenode.net
  3. //2010
  4.  
  5.  
  6. 000-0.gat,0,0,0         script Patrick  000, {
  7.        
  8.         mes "[Patrick]";
  9.         mes "Happy St. Patrick's Day! What's your name my friend?";
  10.         next;
  11.         input@name$;
  12.         if(SPD == 0) goto L_Quest;
  13.         if(SPD == 1) goto L_Happy;
  14.        
  15.  
  16. L_Quest:
  17.         mes "[The Riddler]";
  18.         mes "\"Ah, hello " + @name$ + ", how are you today, ready for St. Patrick's Day???\"";
  19.         next;
  20.         menu
  21.  
  22.                 "Oh, yeah, I am!", L_Yeah,
  23.                 "I'm not sure...", L_NotSure,
  24.                 "Definately not", L_No,
  25.                 "What's St. Patrick's Day?", L_Explanation;
  26.  
  27. L_Happy:
  28.         mes "[Patrick]";
  29.         mes "You've alreday got your reward. Please give the others also a try! And keep in mind that St. Patrick's Day is an event to celebrate St. Patrick.  Next year, you can find my at the same location. Now, go go go and trink as much green beer as you want!";
  30.         mes "See you next year my friend.";
  31.         close;
  32.  
  33. L_Yeah:
  34.         mes "[Patrick]";
  35.         mes "\"That's what I wanted to hear!";
  36.         mes "Have you ever kissed the Blarney stone?\"";
  37.         next;
  38.         menu
  39.                
  40.                 "Sure", goto L_Kissed,
  41.                 "Nah", -,
  42.                 "Blarney Stone?", goto L_Stone;
  43.         close;
  44.        
  45.  
  46. L_NotSure:
  47.         mes "[Patrick]";
  48.         mes "St. Patrick's Day is really exciting...better think about it and tell me your decision later.";
  49.         mes "See you.";
  50.         close;
  51.  
  52. L_No:
  53.         mes "[Patrick]";
  54.         mes "You're not ready for St. Patrick's Day?!";
  55.         mes "A pity...";
  56.         close;
  57.  
  58. L_Explanation:
  59.  
  60. L_Kissed:
  61.         if(Stone == 0) goto L_Kiss;
  62.         if/Stone == 1) goto L_Done;
  63.  
  64. L_Done:
  65.         mes "[Patrick]"
  66.         mes "\"Oh yeah, that's good. May I ask whether you want to participate in a little game?\"";
  67.         next;
  68.         menu
  69.                 "YAY!", goto L_Ok,
  70.                 "Maybe next year...", -;
  71.         close;
  72.  
  73. L_Stone:
  74.         mes "[Patrick]";
  75.         mes "\"The Blarney Stone is an ancient misterious rock. Try to kiss the stone and you might get something.\"";
  76.         next;
  77.         menu
  78.                 "No, thank you", -,
  79.                 "Where can i find the Blarney Stone?", goto L_Location,
  80.                 "Wow, I am on my way!", -;
  81.         close;
  82.        
  83. L_Location:
  84.         mes "[Patrick]";
  85.         mes "I don't know the exact location, but I think the stone is somewhere near the mining camp north of Hurnscald.";
  86.         mes "Find the stone and come back!";
  87.         close;
  88.        
  89. L_Ok:
  90.         mes "[Patrick]"
  91.         mes "I'm glad to hear that.";
  92.         mes "Come on, turn on this wheel and you might win something.";
  93.         next;
  94.                 set @TEMP, rand(4);
  95.                 if(@TEMP == 0) goto L_Reward0;
  96.                 if(@TEMP == 1) goto L_Reward1;
  97.                 if(@TEMP == 2) goto L_Reward2;
  98.                 if(@TEMP == 3) goto L_Reward3;
  99.                 if(@TEMP == 4) goto L_Reward4;
  100.                
  101. L_Reward0:
  102.         mes "[Patrick]";
  103.         mes "Unfortunately a blank. But take this as a consolation prize!;
  104.         getitem "greenbeer", 15;
  105.         getitem 648, 1;
  106.         set SPD, 1;
  107.         close;
  108.  
  109. L_Reward1:
  110.         mes "[Patrick]";
  111.         mes "Take this as reward.";
  112.         getitem "greenbeer", 30;
  113.         getitem 649, 1;
  114.         getexp 500, 0;
  115.         set SPD, 1;
  116.         close;
  117.  
  118. L_Reward2:
  119.         mes "[Patrick]";
  120.         mes "Here's your prize.";
  121.         getitem "greenbeer", 30;
  122.         getitem 650, 1;
  123.         set zeny, zeny + 1000;
  124.         set SPD, 1;
  125.         close;
  126.  
  127. L_Reward3:
  128.         mes "[Patrick]";
  129.         mes "Take this.";
  130.         getitem "greenbeer", 30;
  131.         getitem 651, 1;
  132.         getexp 600, 0;
  133.         set SPD, 1;
  134.         close;
  135.  
  136. L_Reward4:
  137.         mes "[Patrick]";
  138.         mes "Have fun with your reward.";
  139.         getitem "greenbeer", 30;
  140.         getitem 652, 1;
  141.         set zeny, zeny + 1500;
  142.         set SPD, 1;
  143.         close;
  144.        
  145. L_Kiss:
  146.         mes "[Patrick]";
  147.         mes "Seems like you haven't kissed the stone...";
  148.         close;
  149.        
  150. }