From a6bf9c61b0358b006b20bbb33fea10bb2aab1e61 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 13 Apr 2021 18:07:20 -0300 Subject: Typos, how lovely --- npc/commands/debug.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'npc/commands') 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; } -- cgit v1.2.3-60-g2f50