Just want to add that you can add \n to the message and the LCD message will appear on its own line.
Code: Register to unlock hidden link
if (event == "G_PRESSED" and arg == 1) then
x, y = GetMousePosition();
PressMouseButton(1)
Sleep(10)
MoveMouseTo(34156, 54602)
Sleep(10)
ReleaseMouseButton(1)
Sleep(10)
MoveMouseTo(x, y)
OutputLCDMessage("Looted\n", 2000)
end
Also to fix up the Mouse cord display use this. It will also display the mouse location for 15 seconds. instead of the default 1
Code: Register to unlock hidden link
if (event == "G_PRESSED" and arg == 2) then
local x, y = GetMousePosition();
local sFmt = string.format("Mouse is at %d, %d\n", x, y);
ClearLCD( )
OutputLogMessage(sFmt, 15000);
end