add full disable command to macrochecker and temporarily disable swimming conditional ddue to lack of dll support

This commit is contained in:
Jrc13245
2026-02-15 10:09:34 -05:00
parent 8b1aaf1f87
commit e3cfde0506
4 changed files with 45 additions and 11 deletions
+8 -1
View File
@@ -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