Set out to make the computer play the game for me!
Here is the code,
Opt(‘MouseCoordMode’, 2)
Opt(‘PixelCoordMode’, 2)
While 1;
Sleep(10)
$aMpos = MouseGetPos()
$HexPix = ‘0x’ & Hex(PixelGetColor($aMpos[0], $aMpos[1]), 6)
;ToolTip(‘Hex Color = ‘ & $HexPix & @CR & _
; ‘Client X:Y = ‘ & $aMpos[0] & ‘,’ & _;
$aMpos[1], $aMpos[0] + 1, $aMpos[1] + 1)
if $HexPix = 0x535353 then
Send(“{SPACE}”)
endif
WEnd