mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
add full disable command to macrochecker and temporarily disable swimming conditional ddue to lack of dll support
This commit is contained in:
@@ -1155,6 +1155,11 @@ end
|
||||
-- Slash command
|
||||
SLASH_MACROCHECK1 = "/macrocheck"
|
||||
SlashCmdList.MACROCHECK = function(msg)
|
||||
if CleveRoidMacros and CleveRoidMacros.macrocheck == 0 then
|
||||
CleveRoids.Print("Macro syntax checker is disabled. Enable with /cleveroid macrocheck 1")
|
||||
return
|
||||
end
|
||||
|
||||
local success, result = pcall(function()
|
||||
msg = safeTrim(msg or "")
|
||||
|
||||
@@ -1170,4 +1175,6 @@ SlashCmdList.MACROCHECK = function(msg)
|
||||
end
|
||||
end
|
||||
|
||||
CleveRoids.Print("Macro syntax checker loaded. Use /macrocheck [macroname] or /macrocheck all")
|
||||
if not CleveRoidMacros or CleveRoidMacros.macrocheck ~= 0 then
|
||||
CleveRoids.Print("Macro syntax checker loaded. Use /macrocheck [macroname] or /macrocheck all")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user