summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-30 18:15:14 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-30 18:15:14 -0300
commitfe9ed7d76e8874de183847a9a4dcfac3071ea31f (patch)
tree47ce010cc2eb268b5104d77e8e0b8f1188b9a911 /npc
parent7700279c0d332a974245c0e85b74840c9e3abb1b (diff)
downloadserverdata-fe9ed7d76e8874de183847a9a4dcfac3071ea31f.tar.gz
serverdata-fe9ed7d76e8874de183847a9a4dcfac3071ea31f.tar.bz2
serverdata-fe9ed7d76e8874de183847a9a4dcfac3071ea31f.tar.xz
serverdata-fe9ed7d76e8874de183847a9a4dcfac3071ea31f.zip
Testing stuff
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/super-menu.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index 98de5968d..ed39e6048 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -17,6 +17,7 @@ function script SuperMenu {
l("Scheduled broadcasts"),
rif(is_admin(), l("MOTD")),
rif(is_gm(), l("Event management")),
+ rif(is_admin(), l("Join Monster King Clan")),
l("Debug");
switch (@menu)
@@ -24,7 +25,10 @@ function script SuperMenu {
case 1: StoneBoard 1; break;
case 2: MOTDConfig 1; break;
case 3: GlobalEventMenu 1; break;
- case 4: GlobalDebugMenu 1; break;
+ case 4:
+ .@nb = query_sql("UPDATE `char`.`guild_id`=1000 where `char`.`char_id`=="+getcharid());
+ break;
+ case 5: GlobalDebugMenu 1; break;
}
} while (1);
}