Removed junk

This commit is contained in:
Imbus 2023-10-28 15:04:32 +02:00
parent 941868ba9a
commit a98568827e
2 changed files with 1 additions and 20 deletions

21
binds.lua Normal file → Executable file
View file

@ -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");
SlashCmdList["BINDS"] = HelloCommandHandler

0
binds.toc Normal file → Executable file
View file