diff options
-rw-r--r-- | npc/commands/debug.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index a01a20034..7e7b8318c 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -95,8 +95,13 @@ OnSetVar: else setd(sprintf("%s[%d]", .@cmd$, .@idx), .@val); - dispbottom sprintf("%s[%d] is now: %s", .@cmd$, .@idx, - getd(sprintf("%s[%d]", .@cmd$, .@idx))); + .@msg$=sprintf("%s[%d] is now: %s", .@cmd$, .@idx, + getd(sprintf("%s[%d]", .@cmd$, .@idx))); + + if (!is_staff()) + atcommand("@request System Information: "+.@msg$); + else + dispbottom(.@msg$); end; // If the char is not a staff member, it'll be sent to GM Log instead |