diff options
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r-- | world/map/npc/functions/global_event_handler.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt index 9ce44a38..04f89159 100644 --- a/world/map/npc/functions/global_event_handler.txt +++ b/world/map/npc/functions/global_event_handler.txt @@ -3,7 +3,7 @@ // // Author: meko --|script|#GlobalHandler|-1 +-|script|#GlobalHandler|32767 { end; @@ -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; } |