Suggestions
gamebot hotkey
#109
This allows you to add hotkey to the game_bot.
You can either modify the game_bot itself to add the hotkey or add it to a bot config.
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
-- add this line to the bot.lua file (see link above).
g_keyboard.bindKeyPress('Ctrl+M', function() enableButton.onClick() end)
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
-- Using a bot config add this to a file.
local gRoot = modules.game_interface.getRootPanel()
if not gRoot.botHotkeySet then
g_keyboard.bindKeyDown('Ctrl+M', function() modules.game_bot.contentsPanel.enableButton.onClick() end, gRoot)
gRoot.botHotkeySet = true
end
18 Dec 2022