summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorReid Yaro <reidyaro@gmail.com>2013-07-10 08:58:17 +0100
committerReid Yaro <reidyaro@gmail.com>2013-07-10 08:58:17 +0100
commit0c6df6d490c4f0cfa027d5fe1a9998294b35bcb3 (patch)
tree76e3f9877c3c5e886b4421749b4513d91f04e18a /npc
parentadf69635460e2c6ecde4d848fd1c76470ec10f83 (diff)
downloadserverdata-0c6df6d490c4f0cfa027d5fe1a9998294b35bcb3.tar.gz
serverdata-0c6df6d490c4f0cfa027d5fe1a9998294b35bcb3.tar.bz2
serverdata-0c6df6d490c4f0cfa027d5fe1a9998294b35bcb3.tar.xz
serverdata-0c6df6d490c4f0cfa027d5fe1a9998294b35bcb3.zip
Add forgotten goodbye function.
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/goodbye.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/functions/goodbye.txt b/npc/functions/goodbye.txt
new file mode 100644
index 00000000..e5895422
--- /dev/null
+++ b/npc/functions/goodbye.txt
@@ -0,0 +1,18 @@
+// Evol functions.
+// Author:
+// Reid
+// Description:
+// Tell a random goodbye.
+// Variables:
+// @rand = Random number between the number of "good bye" choice.
+
+function script GoodBye {
+ closedialog;
+
+ set @rand, rand(2);
+ if (@rand == 0) npctalk3 l("See you later!");
+ if (@rand == 1) npctalk3 l("See you!");
+ if (@rand == 2) npctalk3 l("Bye!");
+
+ close;
+}