Since lucas terra can operate with tibia GUI by mouse and keyboard, a good idea would be to add a lua script for "openhotkeyoptions" OR better, "mouseclick", "scroll window" etc functions (they already exist and are used by lets say looting system and cavebot) and some functions that will return the position of buttons (options, battle list, vips, etc) position relative to the window/absolute. that would enable us to make much more complex functions by creating libs.

imagine this:

Code:
mouseclick( $gui.settings.posX, $gui.settings.posY ) -- open settings window
wait(1000)
mouseclick( $gui.settings.hotkeys.posX, $gui.settings.hotkeys.posY ) -- open hotkey settings
wait(1000)
scrollTo( 'Shift + F12', $gui.settings.hotkeys.scroll[0], true ) -- scrolls the scroll window (last argument boolean for "selecting" the element
wait(1000)
type( 'exura' ) -- same as "say" but just types "text" into the game window not using the chat
3 simple functions, and we've got a good feature enabling users to automatically set hotkeys.

there is nothing hard in implementing this by Lucas Terra, he already has all the functions build in, its just matter of thinking out the "GUI" variable structure, which i choose to display it in an OOP fashion that is intuitive for the user.


Let me see what you think about this!