diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-14 13:01:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-14 13:01:58 -0300 |
commit | fa5508066e13ec78f395640f1a8617b7e35695c2 (patch) | |
tree | 4529fb9fe2e5e52cfcbaa5799fb56fdf3d424343 /npc | |
parent | 6f2ad0c20efb27d11afc42b9ee69317bd8b83f56 (diff) | |
download | serverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.tar.gz serverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.tar.bz2 serverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.tar.xz serverdata-fa5508066e13ec78f395640f1a8617b7e35695c2.zip |
Report to GMs, not to players
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/debug-quest.txt | 8 |
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) { |