summaryrefslogtreecommitdiff
path: root/npc/commands/debug-quest.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 13:18:40 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 13:18:40 -0300
commit894d3f0fddcf154b090ccb9929324f6211a0ff81 (patch)
tree705afa490d506f84afde364bcf584a0e5471a8e9 /npc/commands/debug-quest.txt
parent35e06f714cb4f9abce4950ec4d28d0c168fcc738 (diff)
downloadserverdata-894d3f0fddcf154b090ccb9929324f6211a0ff81.tar.gz
serverdata-894d3f0fddcf154b090ccb9929324f6211a0ff81.tar.bz2
serverdata-894d3f0fddcf154b090ccb9929324f6211a0ff81.tar.xz
serverdata-894d3f0fddcf154b090ccb9929324f6211a0ff81.zip
[skip ci] remove debug markers
Diffstat (limited to 'npc/commands/debug-quest.txt')
-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) {