summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-02 23:08:17 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-02 23:08:17 -0300
commita66940d7e257bc736ae3c790e531ea8aecf29858 (patch)
tree52533ac1a9cda0cf35c167b714b3ea63f8d822da /npc/commands
parenta99d505cbb49ef7334cd7faf123a2f474f9ce659 (diff)
downloadserverdata-a66940d7e257bc736ae3c790e531ea8aecf29858.tar.gz
serverdata-a66940d7e257bc736ae3c790e531ea8aecf29858.tar.bz2
serverdata-a66940d7e257bc736ae3c790e531ea8aecf29858.tar.xz
serverdata-a66940d7e257bc736ae3c790e531ea8aecf29858.zip
Add command @sclear to clear status conditions.
Including to reset number of sent mails so you can send more emails.
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/debug.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index 58764aec9..a01a20034 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -116,12 +116,19 @@ OnGetVar:
dispbottom(.@mg$);
end;
+OnSClear:
+ sc_end SC_ALL;
+ sc_end SC_DAILYSENDMAILCNT;
+ dispbottom l("Status Condition Cleared");
+ end;
+
OnInit:
bindatcmd "debug", "@debug::OnCall", 99, 99, 1;
bindatcmd "getvar", "@debug::OnGetVar", 99, 99, 1;
bindatcmd "get-var", "@debug::OnGetVar", 99, 99, 1;
bindatcmd "setvar", "@debug::OnSetVar", 99, 99, 1;
bindatcmd "set-var", "@debug::OnSetVar", 99, 99, 1;
+ bindatcmd "sclear", "@debug::OnSClear", 99, 99, 1;
end;
}