From d40e9ab167749ff8f388c90f67457b36c6216aa9 Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 7 May 2015 14:08:51 -0400 Subject: death to the motd! --- world/map/npc/functions/global_event_handler.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'world/map/npc/functions/global_event_handler.txt') 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; } -- cgit v1.2.3-60-g2f50