diff --git a/binds.lua b/binds.lua old mode 100644 new mode 100755 index c97e2b4..8305fb2 --- a/binds.lua +++ b/binds.lua @@ -41,23 +41,4 @@ print("test") -- Register the /hello command SLASH_BINDS1 = "/binds" -SlashCmdList["BINDS"] = HelloCommandHandler - -local function MyAddonOnLoad(self, event, arg1) - if arg1 == "MyAddon" then -- Replace "MyAddon" with your add-on's folder name - setAllBinds() - print("MyAddon has been loaded!") - end -end - -local frame = CreateFrame("Frame") -frame:RegisterEvent("ADDON_LOADED") -frame:SetScript("OnEvent", MyAddonOnLoad) - --- local actionName = "ACTIONBUTTON1"; --- local primaryKey = GetBindingKey(actionName); --- setBinding(primaryKey, nil); --- SetBinding("CTRL+A", actionName); --- SaveBindings(1); - --- setBinding("CTRL+A", "ACTIONBUTTON1"); setBinding("CTRL+B", "ACTIONBUTTON2"); \ No newline at end of file +SlashCmdList["BINDS"] = HelloCommandHandler \ No newline at end of file diff --git a/binds.toc b/binds.toc old mode 100644 new mode 100755