mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
fix stopmacro and implement skipmacro
This commit is contained in:
+6
-1
@@ -190,7 +190,7 @@ end
|
||||
-- /cast hook
|
||||
CleveRoids.Hooks.CAST_SlashCmd = SlashCmdList.CAST
|
||||
SlashCmdList.CAST = function(msg)
|
||||
if CleveRoids.stopMacroFlag then return end
|
||||
if CleveRoids.stopMacroFlag or CleveRoids.skipMacroFlag then return end
|
||||
if msg and string.find(msg, "[%[%?!~{]") then
|
||||
CleveRoids.DoCast(msg)
|
||||
else
|
||||
@@ -324,6 +324,11 @@ SlashCmdList.STOPMACRO = function(msg)
|
||||
CleveRoids.DoStopMacro(msg)
|
||||
end
|
||||
|
||||
SLASH_SKIPMACRO1 = "/skipmacro"
|
||||
SlashCmdList.SKIPMACRO = function(msg)
|
||||
CleveRoids.DoSkipMacro(msg)
|
||||
end
|
||||
|
||||
-- QuickHeal with conditionals support (requires QuickHeal addon)
|
||||
-- Usage: /quickheal [conditionals] [target] [type]
|
||||
-- Examples:
|
||||
|
||||
Reference in New Issue
Block a user