summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-20 20:16:53 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-20 20:16:53 -0300
commit1ef9be9847241c57f2f0d67829c5e61bcf055f5f (patch)
treed803e9547a26745889a8c3c2e8fe0bb091ce5cbd /npc/commands
parentce2c2e349baf034939661fd40e6617e9fd0999cf (diff)
downloadserverdata-1ef9be9847241c57f2f0d67829c5e61bcf055f5f.tar.gz
serverdata-1ef9be9847241c57f2f0d67829c5e61bcf055f5f.tar.bz2
serverdata-1ef9be9847241c57f2f0d67829c5e61bcf055f5f.tar.xz
serverdata-1ef9be9847241c57f2f0d67829c5e61bcf055f5f.zip
Adjust group ID on the *proper* way when using @gm
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/super-menu.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index f0846fe33..d18d31ca3 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -75,28 +75,28 @@ OnGM:
.@auth=true;
// NOTE: Pihro and Pyndragon do not have player chars
if (strcharinfo(0) == "Jesusalva") {
- atcommand("#adjgroup Jesusalva 99");
+ setgroupid(99);
} else if (strcharinfo(0) == "Saulc") {
- atcommand("#adjgroup Saulc 99");
+ setgroupid(99);
} else if (strcharinfo(0) == "seeds") {
- atcommand("#adjgroup seeds 60");
+ setgroupid(60);
} else if (strcharinfo(0) == "demure") {
- atcommand("#adjgroup demure 80");
+ setgroupid(80);
} else if (strcharinfo(0) == "jak1") {
- atcommand("#adjgroup jak1 80");
+ setgroupid(80);
// Test Server grants
} else if (strcharinfo(0) == "Povo" && debug) {
- atcommand("#adjgroup Povo 5");
+ setgroupid(5);
//} else if (strcharinfo(0) == "Kolchak" && debug) {
- // atcommand("#adjgroup Kolchak 5");
+ // setgroupid(5);
//} else if (strcharinfo(0) == "MuaHaHaHaHa" && debug) {
- // atcommand("#adjgroup MuaHaHaHaHa 5");
+ // setgroupid(5);
//} else if (strcharinfo(0) == "kytty" && debug) {
- // atcommand("#adjgroup kytty 5");
+ // setgroupid(5);
//} else if (strcharinfo(0) == "Hocus" && debug) {
- // atcommand("#adjgroup Hocus 5");
+ // setgroupid(5);
//} else if (strcharinfo(0) == "Former_Cordo") {
- // atcommand("#adjgroup 60 Former_Cordo");
+ // setgroupid(60);
} else {
dispbottom l("Your privileges do not allow you to use this command.");
.@auth=false;