diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-26 19:31:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-26 19:31:30 -0300 |
commit | cd1a604bc8c501811b568b04a5bf531407e629f5 (patch) | |
tree | 3c5905f346ec38077c1cc873b0a5cb34041e74a9 /npc/003-3/malindou.txt | |
parent | 03ab3408392dbc43ea75111f5312f345c4538605 (diff) | |
download | serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.tar.gz serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.tar.bz2 serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.tar.xz serverdata-cd1a604bc8c501811b568b04a5bf531407e629f5.zip |
Refactor how PC Login events will be handled.
Malindou is now responsible for those.
Daily login fancy GUI - can be disabled with @ucp
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r-- | npc/003-3/malindou.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 20d38d5f1..697bf85ea 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -337,12 +337,28 @@ OnInit: //htput($@CONTRIBUTORS, "", 1); end; +// This control all PC Login events +// Position matters! OnPCLoginEvent: - checkclientversion; + // Vault override if (#MerchantBank) { BankVault += max(0, #MerchantBank); #MerchantBank = 0; } + + // Message of the Day have priority + MOTDHandler(); + + // Scheduled Announces + StoneBoardRead(); + + // TODO: npc/commands/rate-management.txt + + // Main update handler + checkclientversion(); + + // Daily rewards (always the last) + daily_login_bonus_handler(); end; } |