From 20df2abc1aca00d6aa5dc78347133890f36b32f3 Mon Sep 17 00:00:00 2001 From: Saulc Date: Sat, 13 Jan 2018 20:50:42 +0100 Subject: Initial commit --- npc/functions/hello.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 npc/functions/hello.txt (limited to 'npc/functions/hello.txt') diff --git a/npc/functions/hello.txt b/npc/functions/hello.txt new file mode 100644 index 000000000..9399b3b58 --- /dev/null +++ b/npc/functions/hello.txt @@ -0,0 +1,23 @@ +// Evol functions. +// Author: +// Reid +// Description: +// Tell a random greeting sentence. + +function script hello { + + switch (rand(3)) + { + case 0: + npctalkonce(l("Heya!")); + break; + case 1: + npctalkonce(l("Hi.")); + break; + case 2: + npctalkonce(l("Nice day to you.")); + break; + } + + return; +} -- cgit v1.2.3-60-g2f50