diff options
Diffstat (limited to 'npc/commands/debug-quest.txt')
-rw-r--r-- | npc/commands/debug-quest.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt index a4c6572f..163df5c9 100644 --- a/npc/commands/debug-quest.txt +++ b/npc/commands/debug-quest.txt @@ -64,12 +64,17 @@ OnCall: end; OnSetq: - if (.@atcmd_numparameters < 2) { + if (.@atcmd_numparameters < 1) { dispbottom "setq called with invalid arguments (min. 2)"; dispbottom "GM Command syntax: @setq <quest_id> <val1> <val2> <val3>"; end; } .@q=atoi(.@atcmd_parameters$[0]); + if (.@atcmd_numparameters < 2) { + dispbottom sprintf("%s Quest count: %d / %d / %d", getquestlink(.@q), + getq(.@q), getq2(.@q), getq3(.@q)); + end; + } switch (.@atcmd_numparameters) { case 4: setq3 .@q, atoi(.@atcmd_parameters$[3]); |