diff --git a/.luarc.json b/.luarc.json index bcd4f4d..e97b3af 100644 --- a/.luarc.json +++ b/.luarc.json @@ -10,13 +10,7 @@ "arg7", "arg8", "arg9", - "event", - "SetBinding", - "SetCVar", - "MultiActionBar_Update", - "SetActionBarToggles", - "SaveBindings", - "SlashCmdList" + "event" ], "runtime.version": "Lua 5.1", "type.inferParamType": true, diff --git a/ImbusBinds.lua b/ImbusBinds.lua index dd27d45..95a4196 100755 --- a/ImbusBinds.lua +++ b/ImbusBinds.lua @@ -140,25 +140,16 @@ end local function BindsHandler(msg, editbox) u.guards() if msg == '' then - u.info 'Welcome to the ImbusBinds keybinding script' - u.info 'Usage:' - u.info ' /binds set - To set general bindings' - u.info ' /binds camera - To set camera binds to +/-' - u.info ' /binds bars - Enable all action bars' - end - if msg == 'set' then applyBindingSet(myBinds) + enableBars() end if msg == 'camera' then applyBindingSet(cameraBinds) end - if msg == 'bars' then - enableBars() - end SaveBindings(1) u.guards() end --- Register the /binds command +-- Register the /hello command SLASH_BINDS1 = '/binds' SlashCmdList['BINDS'] = BindsHandler