From edb863e8fe489e0ec2f3cb287a2a5aa8e1d25c49 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 22 Feb 2025 09:08:40 +0100 Subject: [PATCH] Some help messages, default to no action --- ImbusBinds.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ImbusBinds.lua b/ImbusBinds.lua index 95a4196..dd27d45 100755 --- a/ImbusBinds.lua +++ b/ImbusBinds.lua @@ -140,16 +140,25 @@ 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 /hello command +-- Register the /binds command SLASH_BINDS1 = '/binds' SlashCmdList['BINDS'] = BindsHandler