summaryrefslogtreecommitdiff
path: root/npc/commands/debug-quest.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 13:01:58 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 13:01:58 -0300
commitfa5508066e13ec78f395640f1a8617b7e35695c2 (patch)
tree4529fb9fe2e5e52cfcbaa5799fb56fdf3d424343 /npc/commands/debug-quest.txt
parent6f2ad0c20efb27d11afc42b9ee69317bd8b83f56 (diff)
downloadserverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.tar.gz
serverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.tar.bz2
serverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.tar.xz
serverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.zip
Report to GMs, not to players
Diffstat (limited to 'npc/commands/debug-quest.txt')
-rw-r--r--npc/commands/debug-quest.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index 163df5c9..df4f83c4 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -71,8 +71,12 @@ OnSetq:
}
.@q=atoi(.@atcmd_parameters$[0]);
if (.@atcmd_numparameters < 2) {
- dispbottom sprintf("%s Quest count: %d / %d / %d", getquestlink(.@q),
- getq(.@q), getq2(.@q), getq3(.@q));
+ if (!is_trusted())
+ atcommand 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));
end;
}
switch (.@atcmd_numparameters) {