summaryrefslogtreecommitdiff
path: root/npc/functions/goodbye.txt
blob: d427036d1cd502fd08e9d9e3b9d9416a27053242 (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(3);
    if (@rand == 0) npctalk3 l("See you later!");
    if (@rand == 1) npctalk3 l("See you!");
    if (@rand == 2) npctalk3 l("Bye!");

    close;
}