summaryrefslogtreecommitdiff
path: root/npc/functions/hello.txt
blob: 9399b3b585590338b6b11c1d266cc0da7ededfda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}