diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-28 18:21:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-28 18:21:23 -0300 |
commit | ec20fbba4f5e03c9b03b26e110984e64cb89b6cb (patch) | |
tree | ba76bb5c1c7cdcce18991be1540f01d52f8ce73c /npc/003-1/aahna.txt | |
parent | 6a6ccf27161b239c974b4dadcb3cfc275f3581d7 (diff) | |
download | serverdata-ec20fbba4f5e03c9b03b26e110984e64cb89b6cb.tar.gz serverdata-ec20fbba4f5e03c9b03b26e110984e64cb89b6cb.tar.bz2 serverdata-ec20fbba4f5e03c9b03b26e110984e64cb89b6cb.tar.xz serverdata-ec20fbba4f5e03c9b03b26e110984e64cb89b6cb.zip |
Test Server automatic shutdown
Diffstat (limited to 'npc/003-1/aahna.txt')
-rw-r--r-- | npc/003-1/aahna.txt | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/npc/003-1/aahna.txt b/npc/003-1/aahna.txt index 94fff454a..3171edbd9 100644 --- a/npc/003-1/aahna.txt +++ b/npc/003-1/aahna.txt @@ -22,6 +22,75 @@ OnInit: .distance = 5; end; +// Test Server Utilities +OnClock0000: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("It's the last event day! Server shutting down in 20 hours!"); + end; + +OnClock1000: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Event Server shutting down in 10 hours!"); + end; + +OnClock1500: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Event Server shutting down in 5 hours!"); + end; + +OnClock1800: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Event Server shutting down in 2 hours!"); + end; + +OnClock1900: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Event Server shutting down in 1 hour!"); + end; + +OnClock1930: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Event Server shutting down in 30 minutes!"); + end; + +OnClock1945: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Event Server shutting down in 15 minutes!"); + end; + +OnClock1955: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Event Server shutting down in 5 minutes!"); + end; + +OnClock1958: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("##1ATTENTION: THIS IS THE LAST OPPORTUNITY TO SELL STORAGE ITEMS AND EMPTY THE BANK."); + end; + +OnClock2000: + if (gettime(GETTIME_DAYOFMONTH) != 31) + end; + kamibroadcast("Wp everyone", "Saulc"); + sleep(500); + kamibroadcast("Thanks everyone for participating on the event.", "Jesusalva"); + sleep(2000); + kamibroadcast("Event Server will now shutdown, I hope to be handing out the rewards within the next 15 days.", "Jesusalva"); + sleep(5000); + kamibroadcast("Stay tuned with the updates!", "Jesusalva"); + sleep(3000); + atcommand "@serverexit 100"; + end; + // Server Happy Hour OnSun1800: $@EXP_EVENT=rand2(15, 20); |