summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 13:13:09 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 13:13:09 -0300
commitd0df63c4983ffd50fd46e2fbb81625f82d7e1c28 (patch)
treebf7160d690a37ae13835308e9db7d888e7ba7004
parent4fe9f5916eae781a14ee71f40121979cc347c024 (diff)
downloadserverdata-d0df63c4983ffd50fd46e2fbb81625f82d7e1c28.tar.gz
serverdata-d0df63c4983ffd50fd46e2fbb81625f82d7e1c28.tar.bz2
serverdata-d0df63c4983ffd50fd46e2fbb81625f82d7e1c28.tar.xz
serverdata-d0df63c4983ffd50fd46e2fbb81625f82d7e1c28.zip
[skip ci] I need this data and don't have time for games
-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) {