summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-07 14:08:51 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-07 14:08:51 -0400
commitd40e9ab167749ff8f388c90f67457b36c6216aa9 (patch)
tree2999454384a13def286adf84f6e06e751749fb5b /world/map/npc/functions/global_event_handler.txt
parent481ed1e0eea0423dd2597c72ca67b5872f8e8862 (diff)
downloadserverdata-d40e9ab167749ff8f388c90f67457b36c6216aa9.tar.gz
serverdata-d40e9ab167749ff8f388c90f67457b36c6216aa9.tar.bz2
serverdata-d40e9ab167749ff8f388c90f67457b36c6216aa9.tar.xz
serverdata-d40e9ab167749ff8f388c90f67457b36c6216aa9.zip
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.txt2
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;
}