From a98568827ec3c80cd506e5bc1f17e7d488d68bfd Mon Sep 17 00:00:00 2001 From: Imbus Date: Sat, 28 Oct 2023 15:04:32 +0200 Subject: [PATCH] Removed junk --- binds.lua | 21 +-------------------- binds.toc | 0 2 files changed, 1 insertion(+), 20 deletions(-) mode change 100644 => 100755 binds.lua mode change 100644 => 100755 binds.toc 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