blob: ea06009949654edd323bd650784dc3019735208d (
plain) (
tree)
|
|
// 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(13);
if (.@rand == 0) npctalk3 l("See you!");
if (.@rand == 1) npctalk3 l("See you later!");
if (.@rand == 2) npctalk3 l("See you soon!");
if (.@rand == 3) npctalk3 l("Bye!");
if (.@rand == 4) npctalk3 l("Farewell.");
if (.@rand == 5) npctalk3 l("Bye then!");
if (.@rand == 6) npctalk3 l("Goodbye.");
if (.@rand == 7) npctalk3 l("Bye for now.");
if (.@rand == 8) npctalk3 l("Talk to you soon!");
if (.@rand == 9) npctalk3 l("Talk to you later!");
if (.@rand == 10) npctalk3 l("Have a good day!");
if (.@rand == 11) npctalk3 l("Cheers!");
if (.@rand == 12) npctalk3 l("Take care!");
close;
}
|