Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mac Command
#17
Code:
Copy      Help
,,mou 308 294
,,int col  ;;this is just initialing the integer 'col'
,,col = pixel(308 294) ;;Stores the color from the xy inside the parens
,,rep
,,,if col = pixel(308 294)
,,,,out "continue" ;;just puts the word continue in the output of the editor for debug
,,,,0.5 ;;waits half-second
,,,,ClearOutput ;;clears the Editor's output box for debugging
,,,,continue ;;if colour the same keep repeating
,,,else
,,,,break ;;if colour is changed stop repeating and go on
,,out "break" ;;output for debugging

Thats what i put in, except the second the mouse moves to that location, it continues with the script...but the color hasnt changed..
[Image: banner-grunge2.jpg]


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)