diff options
Diffstat (limited to 'npc/commands/super-menu.txt')
-rw-r--r-- | npc/commands/super-menu.txt | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index a14f26bc3..9bb3b9365 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -49,8 +49,7 @@ function script SuperMenu { OnCall: - if (!debug && !is_gm()) - { + if (!debug && !is_gm()) { dispbottom l("You do not have the required access privileges to use the Super Menu."); end; } @@ -59,20 +58,6 @@ OnCall: closedialog; end; -OnPCLoginEvent: - .@debug_skill = getskilllv(EVOL_SUPER_MENU); - - if (.@debug_skill > 0 && !debug) - { - skill EVOL_SUPER_MENU, 0, 0; // remove debug skill - } - - else if (.@debug_skill < 1 && debug) - { - skill EVOL_SUPER_MENU, 1, 0; // give debug skill - } - end; - OnInit: bindatcmd "super", "@super::OnCall", 80, 99, 0; //bindatcmd "numa", "@super::OnCall", 80, 99, 0; // alias for those used to TMW's @numa - none at the moment, iirc |