diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-02-08 19:56:12 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-02-08 19:56:12 -0200 |
commit | 86389b43c807e0f21af88867ed7ad9e668e41ed3 (patch) | |
tree | 8b68a0d5b1838fa23b036b2844080ca11561d783 /npc/commands/event.txt | |
parent | 567acc600a13dfcb24ee6ffa18a60335721b6426 (diff) | |
download | serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.gz serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.bz2 serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.tar.xz serverdata-86389b43c807e0f21af88867ed7ad9e668e41ed3.zip |
Valentine Day not working yet
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r-- | npc/commands/event.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt index 4045de7cc..bf678a5a0 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -79,7 +79,8 @@ function script GlobalEventMenu { DelAccRegFromEveryPlayer("#VALENTINE_RECEIVED"); DelAccRegFromEveryPlayer("#VALENTINE_OPENED"); DelAccRegFromEveryPlayer("#VALENTINE_SENT"); - DelAccRegFromEveryPlayer("#VALENTINE_LOVELETTERS"); + htdelete $@VALENTINE_LOVELETTER; + $@VALENTINE_LOVELETTER=0; } // We must remove any event drop @@ -122,7 +123,7 @@ function script GlobalEventMenu { case 1: sClear(); set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND; break; case 2: - set $EVENT$, "Valentine"; logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; + set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; break; case 3: sEaster(); break; case 4: |