summaryrefslogtreecommitdiff
path: root/npc/functions/goodbye.txt
blob: e589542258578083ffaa3369c6606852ce275c4c (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.
// Variables:
//    @rand = Random number between the number of "good bye" 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;
}