diff options
author | Reid <reidyaro@gmail.com> | 2016-02-23 01:32:20 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-02-23 01:32:20 +0100 |
commit | 6e2d1533c05f37e67e9b46d206970701532eb971 (patch) | |
tree | 82eac76fa0d7a0653f6d34a260843a883412833e /npc/functions | |
parent | eb84293fb48026d5ac725ba7bc317edc27c5d140 (diff) | |
download | serverdata-6e2d1533c05f37e67e9b46d206970701532eb971.tar.gz serverdata-6e2d1533c05f37e67e9b46d206970701532eb971.tar.bz2 serverdata-6e2d1533c05f37e67e9b46d206970701532eb971.tar.xz serverdata-6e2d1533c05f37e67e9b46d206970701532eb971.zip |
Add moubootalk function.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/moubootalk.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/functions/moubootalk.txt b/npc/functions/moubootalk.txt new file mode 100644 index 00000000..0d6fb539 --- /dev/null +++ b/npc/functions/moubootalk.txt @@ -0,0 +1,26 @@ +// Evol functions. +// Author: +// Reid +// Description: +// Tell a random sentence. +// Variables: +// .@rand = Random number between the number of sentence choice. + +function script moubootalk { + switch (rand (4)) + { + case 0: + npctalk3 l("Moooooo!"); + break; + case 1: + npctalk3 l("Moo!"); + break; + case 2: + npctalk3 l("Moooooooooooo!"); + break; + case 3: + npctalk3 l("Moooo!"); + break; + } + return; +} |