summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 13:05:38 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 13:05:38 -0300
commita1abb62b694ca97e4e52d8d97ae38c1b49302e62 (patch)
tree024c95ee96daf045f57c3d074a12899c4272a3f1 /npc/commands
parentfa5508066e13ec78f395640f1a8617b7e35695c2 (diff)
downloadserverdata-a1abb62b694ca97e4e52d8d97ae38c1b49302e62.tar.gz
serverdata-a1abb62b694ca97e4e52d8d97ae38c1b49302e62.tar.bz2
serverdata-a1abb62b694ca97e4e52d8d97ae38c1b49302e62.tar.xz
serverdata-a1abb62b694ca97e4e52d8d97ae38c1b49302e62.zip
Why do they keep changing syntax?
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/debug-quest.txt4
-rw-r--r--npc/commands/debug.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index df4f83c4..24363e09 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -72,8 +72,8 @@ OnSetq:
.@q=atoi(.@atcmd_parameters$[0]);
if (.@atcmd_numparameters < 2) {
if (!is_trusted())
- atcommand sprintf("@request Quest %d count: %d / %d / %d", .@q,
- getq(.@q), getq2(.@q), getq3(.@q));
+ charcommand sprintf("@request Quest %d count: %d / %d / %d", .@q,
+ getq(.@q), getq2(.@q), getq3(.@q));
else
dispbottom sprintf("%s Quest count: %d / %d / %d", getquestlink(.@q),
getq(.@q), getq2(.@q), getq3(.@q));
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index 269fdb60..a2b25447 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -564,7 +564,7 @@ OnSetVar:
getd(sprintf("%s[%d]", .@cmd$, .@idx)));
if (!is_trusted())
- atcommand("@request System Information: "+.@msg$);
+ charcommand("@request System Information: "+.@msg$);
else
dispbottom(.@msg$);
end;
@@ -581,7 +581,7 @@ OnGetVar:
getd(sprintf("%s[%d]", .@cmd$, .@idx)));
if (!is_trusted())
- atcommand("@request System Information: "+.@mg$);
+ charcommand("@request System Information: "+.@mg$);
else
dispbottom(.@mg$);
end;