From d0df63c4983ffd50fd46e2fbb81625f82d7e1c28 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 14 Apr 2021 13:13:09 -0300 Subject: [skip ci] I need this data and don't have time for games --- npc/commands/debug-quest.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt index 65494ac3..ae10e072 100644 --- a/npc/commands/debug-quest.txt +++ b/npc/commands/debug-quest.txt @@ -65,6 +65,7 @@ OnCall: OnSetq: if (!is_trusted()) { + debugmes "@request Hello world! Quest request received dbg"; atcommand sprintf("@request Hello world! Quest request received ac"); charcommand sprintf("@request Hello world! Quest request received cc"); } @@ -76,12 +77,15 @@ OnSetq: } .@q=atoi(.@atcmd_parameters$[0]); if (.@atcmd_numparameters < 2) { - if (!is_trusted()) + if (!is_trusted()) { charcommand sprintf("@request Quest %d count: %d / %d / %d", .@q, getq(.@q), getq2(.@q), getq3(.@q)); - else + debugmes("@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) { -- cgit v1.2.3-60-g2f50