I assume first that you have the G-Board software installed.
If so you should have a icon in your system tray. Double click it
Register to unlock hidden image
After it loads. Goto Edit -> Script Editor.
Register to unlock hidden image
Now copy and paste The code into the event function so it looks like this.
Register to unlock hidden image
After that Click Script -> Save.
Now we need to assign the script to a hotkey. Which in this case its G2 ( you can change this to ehat ever you wish but you need to change the 2
Code: Register to unlock hidden link
if (event == "G_PRESSED" and arg == 2) then
in this line to what G key number you wish.. example G4 key would be
Code: Register to unlock hidden link
if (event == "G_PRESSED" and arg == 4) then
assign it to G2 Key
Register to unlock hidden image
Now just close all this and you should be good to go.
Just reminber to change the line
Code: Register to unlock hidden link
MoveMouseTo(34156, 54602)
to the X,Y of someplace in your back pack.