Page 1 of 1

Console command

Posted: Sat Apr 23, 2022 1:40 am
by Dethwish
Heyy. I'm trying to get the console command addon to work.
Is it possible? I just feel lazy sometimes and want to rock it out with my xbox controller. Any help would be appreciated.

Re: Console command

Posted: Wed Jul 06, 2022 8:32 am
by pintrewow
something like this:

SLASH_SB1 = "/SB";

local function setKeyBind(msg)
KeyBindingFrame:Show()
KeyBindingFrame.quickKeybindButton:Click("LeftButton", 1);
KeyBindingFrame:Hide()
end

SlashCmdList["SB"] = setKeyBind;