diff options
Diffstat (limited to 'npc/commands/debug.txt')
-rw-r--r-- | npc/commands/debug.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index 3747156f..a033fe67 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -530,6 +530,15 @@ L_ResetAll: L_close: closeclientdialog; return; +} + +- script Debug Spell NPC32767,{ + end; + +OnDebug: + if (!debug && getgmlevel() < CMD_DEBUG) end; + callfunc "Debug"; + end; OnSetVar: if (getarraysize(.@atcmd_parameters$) != 3) @@ -598,24 +607,15 @@ OnAllperms: charcommand("@addperm bypass_nostorage"); @allperms=true; end; -} -- script Debug Spell NPC32767,{ -OnDebug: - if (!debug && getgmlevel() < CMD_DEBUG) end; - callfunc "Debug"; - end; -OnDeprecated: - message strcharinfo(0), "Debug : ##3The #debug spell has been superseded by the ##B@debug##b command."; - end; OnInit: registercmd "@debug", "Debug Spell::OnDebug"; - 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; - bindatcmd "allperms", "Debug::OnAllPerms", 99, 100, 1; + bindatcmd "getvar", "Debug Spell::OnGetVar", 99, 99, 1; + bindatcmd "get-var", "Debug Spell::OnGetVar", 99, 99, 1; + bindatcmd "setvar", "Debug Spell::OnSetVar", 99, 99, 1; + bindatcmd "set-var", "Debug Spell::OnSetVar", 99, 99, 1; + bindatcmd "sclear", "Debug Spell::OnSClear", 99, 99, 1; + bindatcmd "allperms", "Debug Spell::OnAllPerms", 99, 100, 1; end; } |