summaryrefslogtreecommitdiff
path: root/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r--npc/functions/global_event_handler.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt
index 75a2fabc..8e1116dc 100644
--- a/npc/functions/global_event_handler.txt
+++ b/npc/functions/global_event_handler.txt
@@ -4,9 +4,10 @@
OnPCLoginEvent:
@login_event = 1;
+ adddefaultskills();
//callfunc "fixHeadStyles"; // convert headstyles
//callfunc "ClearVariables"; // removes / converts old variables
- callfunc "DisplayMOTD"; // send the motd to the client, if enabled
+ DisplayMOTD(); // send the motd to the client, if enabled
// add more here
@login_event = 2;
end;
@@ -16,7 +17,7 @@ OnPCKillEvent:
end;
OnMobKillEvent:
- callfunc "MobPoints";
+ MobPoints();
end;
OnPCDieEvent:
@@ -25,6 +26,6 @@ OnPCDieEvent:
end;
OnInit:
- callfunc "MOTD"; // set the MOTD array
+ MOTD(); // set the MOTD array
end;
}