summaryrefslogtreecommitdiff
path: root/npc/commands/debug-quest.txt
diff options
context:
space:
mode:
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 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) {