diff options
author | Wushin <pasekei@gmail.com> | 2015-05-11 20:53:17 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-05-11 20:53:17 -0500 |
commit | 1437955dc1ccd6543cd88634f0bbbdb524a77c18 (patch) | |
tree | 095e2726534d6f846c1fe389302ffe2818294450 /world/map/npc/functions/global_event_handler.txt | |
parent | 4b6d30bbee8b02bc60457c4a2f747009db783829 (diff) | |
parent | d40e9ab167749ff8f388c90f67457b36c6216aa9 (diff) | |
download | serverdata-1437955dc1ccd6543cd88634f0bbbdb524a77c18.tar.gz serverdata-1437955dc1ccd6543cd88634f0bbbdb524a77c18.tar.bz2 serverdata-1437955dc1ccd6543cd88634f0bbbdb524a77c18.tar.xz serverdata-1437955dc1ccd6543cd88634f0bbbdb524a77c18.zip |
Merge pull request #376 from mekolat/motd
death to the motd!
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r-- | world/map/npc/functions/global_event_handler.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt index 92194086..04f89159 100644 --- a/world/map/npc/functions/global_event_handler.txt +++ b/world/map/npc/functions/global_event_handler.txt @@ -11,6 +11,7 @@ OnPCLoginEvent: set @login_event, 1; callfunc "getHeadStyles"; // converts class, color and hair callfunc "ClearVariables"; // removes / converts old variables + callfunc "DisplayMOTD"; // send the motd to the client, if enabled // add more here set @login_event, 2; end; @@ -30,5 +31,6 @@ OnPCDieEvent: OnInit: //fixme: change to OnInterIfInit callfunc "ClearGlobalVars"; + callfunc "MOTD"; // set the MOTD array end; } |