01-11-2005, 10:58 PM
Alright heres a part of it:
however when i try that, it highlights the "else" and says:
Error in Program1: else without if.
but, if i take away the "else" it seems to be working, havnt tested it enough yet to be sure
5
key+ R
0.1
key- R
key (VK_F8)
key v
int c=pixel(53 619) ;;get color of pixel 53 619 (location)
if(c=0xFFBE00) ;;if color is 0xFFBE00 (blue con color)
,key e
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
else if(c=l0xFFFFFF) ;;White con color
,key e
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3
key 1
key 3however when i try that, it highlights the "else" and says:
Error in Program1: else without if.
but, if i take away the "else" it seems to be working, havnt tested it enough yet to be sure
