04-20-2007, 06:08 PM
,,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 debuggingThats what i put in, except the second the mouse moves to that location, it continues with the script...but the color hasnt changed..
