hey guys, im new to scripting scar, so need a little help with this, its not for runescape though, basicly i want it to press the spacebar and release it if a certain colour is at the given posistion.. the code i have so far, which doesn't work is below
thanks for any help
Code:
program New;
const
PerfColor= 8449704;
begin
If (Getcolor(556, 51)) = (PerfColor) then
begin
Writeln('Woo')
end else
Writeln('Boo')
end.
thanks for any help