From a66940d7e257bc736ae3c790e531ea8aecf29858 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 Jan 2021 23:08:17 -0300 Subject: Add command @sclear to clear status conditions. Including to reset number of sent mails so you can send more emails. --- npc/commands/debug.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'npc/commands/debug.txt') 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; } -- cgit v1.2.3-60-g2f50