diff options
-rw-r--r-- | npc/functions/goodbye.txt | 18 |
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; +} |