summaryrefslogtreecommitdiff
path: root/npc/functions/goodbye.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
commit66a7953e6f6b4d7951c306e1d305ab3b904f557a (patch)
treed96f9df4db7a506277b5659aa6165e0efa7b1700 /npc/functions/goodbye.txt
parentefb1c01272dc109188f1a4559db05a73405a7d38 (diff)
downloadserverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.gz
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.bz2
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.xz
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.zip
Replace temp variables into scope temp variables.
Diffstat (limited to 'npc/functions/goodbye.txt')
-rw-r--r--npc/functions/goodbye.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/functions/goodbye.txt b/npc/functions/goodbye.txt
index 470825c7d..016822e74 100644
--- a/npc/functions/goodbye.txt
+++ b/npc/functions/goodbye.txt
@@ -4,25 +4,25 @@
// Description:
// Tell a random goodbye sentence.
// Variables:
-// @rand = Random number between the number of "goodbye" choice.
+// .@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!");
+ 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;
}