summaryrefslogtreecommitdiff
path: root/npc/commands/super-menu.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-16 23:01:47 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-16 23:01:47 -0300
commitb27d189868e08f4459d324fcdc71d996b4ba84ae (patch)
tree9a126f44a30d5f9fc47ca0c493488609ef697d95 /npc/commands/super-menu.txt
parentc3ac02f19bd21b196841934cea8205c77c2f51bf (diff)
downloadserverdata-b27d189868e08f4459d324fcdc71d996b4ba84ae.tar.gz
serverdata-b27d189868e08f4459d324fcdc71d996b4ba84ae.tar.bz2
serverdata-b27d189868e08f4459d324fcdc71d996b4ba84ae.tar.xz
serverdata-b27d189868e08f4459d324fcdc71d996b4ba84ae.zip
User Control Panel (@ucp)
Diffstat (limited to 'npc/commands/super-menu.txt')
-rw-r--r--npc/commands/super-menu.txt17
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