summaryrefslogtreecommitdiff
path: root/npc/functions/goodbye.txt
blob: fe382c0ed79f568076a3747515df3c0ebe2fe092 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Evol functions.
// Author:
//    Reid
// Description:
//    Tell a random goodbye sentence.
// Variables:
//    @rand = Random number between the number of "goodbye" 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;
}