Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 functions, 1 macro?
#12
now im having the problem with the macro skipping this part:
Code:
Copy      Help
,sel pixel(53 619) ;;Look at this location
,,case [0xFFBE00,0xAAFFFF,0x40FF40,0x40FFFF] ;;If you see any of these colors, continue

this is how my code is right now, and how do i fix that?
Code:
Copy      Help
3
rep 99999 ;;How many times to do script over
,
,WaitPixelColor(0 0xD6565E 68 43) ;;Wait until 50% power
,
,key+ R; 0.1; key- R; key F8 ;; Turn right for 0.1 seconds, and press F8
,
,sel pixel(87 99) ;;Look at this location
,,case [0xFFBE00,0xAAFFFF,0x40FF40,0x40FFFF] continue ;; If colors at the location, stop
,
,key v ;; con
,
,sel pixel(53 619) ;;Look at this location
,,case [0xFFBE00,0xAAFFFF,0x40FF40,0x40FFFF] ;;If you see any of these colors, continue
,,key e ;;attack mob
,,key 3
,if(pixel(731 592)=0xFFFF64) ;;Look for "Too Far Away Message"
,,key+ U; 0.1; key- U ;;If there, move forward a bit
,0.3
,,rep 9 ;;cast the following spells X times
,,,key 1
,,,key 2
,,,key 3
,key e
[Image: banner-grunge2.jpg]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)