mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
local _G = _G or getfenv(0)
|
||||
local CleveRoids = _G.CleveRoids or {}
|
||||
|
||||
local Extension = CleveRoids.RegisterExtension("Compatibility_SuperMacro")
|
||||
Extension.RegisterEvent("ADDON_LOADED", "OnLoad")
|
||||
|
||||
function Extension.RunMacro(name)
|
||||
CleveRoids.ExecuteMacroByName(name)
|
||||
end
|
||||
|
||||
function Extension.OnLoad()
|
||||
if not SuperMacroFrame then
|
||||
return
|
||||
end
|
||||
|
||||
Extension.Hook("RunMacro", "RunMacro", true)
|
||||
Extension.UnregisterEvent("ADDON_LOADED", "Onload")
|
||||
end
|
||||
|
||||
|
||||
_G["CleveRoids"] = CleveRoids
|
||||
Reference in New Issue
Block a user