summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/debug-quest.txt15
1 files changed, 2 insertions, 13 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index 333f3b2c..24363e09 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -64,14 +64,6 @@ OnCall:
end;
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");
- } else {
- debugmes "Trusted request received [OK]";
- }
-
if (.@atcmd_numparameters < 1) {
dispbottom "setq called with invalid arguments (min. 2)";
dispbottom "GM Command syntax: @setq <quest_id> <val1> <val2> <val3>";
@@ -79,15 +71,12 @@ 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));
- debugmes("@request Quest %d count: %d / %d / %d", .@q,
- getq(.@q), getq2(.@q), getq3(.@q));
- } else {
+ else
dispbottom sprintf("%s Quest count: %d / %d / %d", getquestlink(.@q),
getq(.@q), getq2(.@q), getq3(.@q));
- }
end;
}
switch (.@atcmd_numparameters) {