diff options
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r-- | npc/functions/global_event_handler.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt index 3d8156c4..bc8f6742 100644 --- a/npc/functions/global_event_handler.txt +++ b/npc/functions/global_event_handler.txt @@ -6,12 +6,17 @@ OnPCLoginEvent: @login_event = 1; adddefaultskills(); //callfunc "fixHeadStyles"; // convert headstyles - callfunc "ClearVariables"; // removes / converts old variables + ClearVariables(); // removes / converts old variables DisplayMOTD(); // send the motd to the client, if enabled // add more here + vaultOnLogin(); @login_event = 2; end; +OnPCLogoutEvent: + vaultOnLogout(); + end; + OnPCKillEvent: elanore_decrease_exp(); // decrease heal exp for doing bad things end; |