Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
2.4K
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.
File: bot.lua | 129b | 2 lines.
 --[[
  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)
File: bot_config.lua | 274b | 6 lines.
 --[[
  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
Ads