summaryrefslogtreecommitdiff
path: root/world/map/npc/009-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-30 15:43:50 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-30 15:43:50 -0300
commit63fd07856b43cc4c0576ff642e514378bab46981 (patch)
tree8d2f49ba0d72fc89248a75c0497771345ce20cfc /world/map/npc/009-1
parent1f187f49ef51481a13c74096ec0f11fbde4cb3d3 (diff)
downloadserverdata-63fd07856b43cc4c0576ff642e514378bab46981.tar.gz
serverdata-63fd07856b43cc4c0576ff642e514378bab46981.tar.bz2
serverdata-63fd07856b43cc4c0576ff642e514378bab46981.tar.xz
serverdata-63fd07856b43cc4c0576ff642e514378bab46981.zip
This is all fore-shadowing I'm willing to share.
Diffstat (limited to 'world/map/npc/009-1')
-rw-r--r--world/map/npc/009-1/constable.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/world/map/npc/009-1/constable.txt b/world/map/npc/009-1/constable.txt
index d87f83d7..d1c71f34 100644
--- a/world/map/npc/009-1/constable.txt
+++ b/world/map/npc/009-1/constable.txt
@@ -2,10 +2,45 @@
009-1,55,34,0|script|Constable Bob|419
{
+ npctalk strnpcinfo(0), "I've acquired mass warp powers; Right after the day of the fool, wear something cool.";
mes "[Constable Bob]";
mes "\"Hello.\"";
mes "\"I've been getting complaints of lawlessness in Hurnscald recently, so I thought I'd come down here myself and explain the rules.\"";
mes "\"Please make sure that you follow them!\"";
callfunc "GameRules";
close;
+
+/* 2022 Blackbox */
+L_End:
+ end;
+
+OnClock2339:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "The server will be going down for scheduled maintenance in ##1##B20 minutes##b.", 0;
+ end;
+
+OnClock2349:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "The server will be going down for scheduled maintenance in ##1##B10 minutes##b.", 0;
+ end;
+
+OnClock2354:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "The server will be going down for scheduled maintenance in ##1##B5 minutes##b.", 0;
+ end;
+
+OnClock2359:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "##1The server will be going down for scheduled maintenance!", 0;
+ // No need to mapexit - Cron will do the dirty job
+ end;
}
+