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.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index 1d345091d..117108749 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -99,8 +99,15 @@ OnGetq:
.@q, getcharid(0), getq(.@q), getq2(.@q), getq3(.@q), getqtime(.@q));
end;
+OnCharData:
+ consoleinfo("Information for %s: Char %d Party %d Guild %d Account %d BG %d Clan %d",
+ strcharinfo(0), getcharid(0), getcharid(1), getcharid(2), getcharid(3), getcharid(4), getcharid(5));
+ end;
+
OnInit:
bindatcmd "qdebug", "@qdebug::OnCall", 99, 99, 1;
bindatcmd "setq", "@qdebug::OnSetq", 99, 99, 1;
bindatcmd "getq", "@qdebug::OnGetq", 99, 99, 0;
+ bindatcmd "chardata", "@qdebug::OnCharData", 80, 80, 0;
+ end;
}