diff options
Diffstat (limited to 'npc/functions/asleep.txt')
-rw-r--r-- | npc/functions/asleep.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/functions/asleep.txt b/npc/functions/asleep.txt index cab79b93..42a99796 100644 --- a/npc/functions/asleep.txt +++ b/npc/functions/asleep.txt @@ -5,15 +5,15 @@ // Description: // Tell a random sleeping sound. // Variables: -// @rand = Random number between the number of "sleeping" choice. +// .@rand = Random number between the number of "sleeping" choice. function script Asleep { - set @rand, rand(3); - if (@rand == 0) npctalk3 l("Zzzzzzzzz..."); - if (@rand == 1) npctalk3 l("Rrrr... Pchhhh..."); - if (@rand == 2) npctalk3 l("Ggrmm... Grmmmm..."); - if (@rand == 3) npctalk3 l("Hm..."); + set .@rand, rand(3); + if (.@rand == 0) npctalk3 l("Zzzzzzzzz..."); + if (.@rand == 1) npctalk3 l("Rrrr... Pchhhh..."); + if (.@rand == 2) npctalk3 l("Ggrmm... Grmmmm..."); + if (.@rand == 3) npctalk3 l("Hm..."); close; } |