diff options
author | gumi <git@gumi.ca> | 2019-04-08 16:47:30 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-04-08 16:47:34 -0400 |
commit | 6b9477145428ef2aa9bd1b146ab43e9f365fa70d (patch) | |
tree | bd96fb8b37ddac3438c3ca8df2eb0af2c1f0c582 /world/map/npc/functions | |
parent | 604d1c7945c0ecab7a1651f24a9f970210834a22 (diff) | |
download | serverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.tar.gz serverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.tar.bz2 serverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.tar.xz serverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.zip |
add the anniversary hatstmp
Co-authored-by: Jesusaves <cpntb1@ymail.com>
Co-authored-by: Micksha <Micksha@users.noreply.github.com>
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r-- | world/map/npc/functions/global_event_handler.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt index 9e0b495d..987845bb 100644 --- a/world/map/npc/functions/global_event_handler.txt +++ b/world/map/npc/functions/global_event_handler.txt @@ -14,6 +14,7 @@ OnPCLoginEvent: callfunc "DisplayMOTD"; // send the motd to the client, if enabled callfunc "getBroadcast"; // get the scheduled broadcast, if any addtimer 0, "Magic Timer::OnLogin"; // prevent cast rate abuse + callfunc "MaybeGiveBirthday"; // add more here set @login_event, 2; end; @@ -37,4 +38,8 @@ OnInit: callfunc "ClearGlobalVars"; callfunc "MOTD"; // set the MOTD array end; + +OnDay0411: + callfunc "MaybeAnnounceBirthday"; + end; } |