summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-07-21 16:16:00 -0400
committergumi <mekolat@users.noreply.github.com>2017-07-21 16:16:00 -0400
commit4b1e21eaaadca7dc8869ad543ab4cb1cc242fb89 (patch)
treec0dfa194d7de59e24ad4d0d9841f41ee66a9485d /npc/commands/event.txt
parente3b63461ab6e3564e975da56793b5d2fa8064300 (diff)
downloadserverdata-s20170725.tar.gz
serverdata-s20170725.tar.bz2
serverdata-s20170725.tar.xz
serverdata-s20170725.zip
refine permissions for custom commandss20170725
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 3253702a..db98bcf2 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -43,10 +43,15 @@ function script GlobalEventMenu {
end;
OnCall:
+ if (!is_evtc())
+ {
+ end;
+ }
+
GlobalEventMenu;
closedialog;
end;
OnInit:
- bindatcmd "event", "@event::OnCall", 4, 99, 0;
+ bindatcmd "event", "@event::OnCall", 0, 99, 0;
}