(Pixel Get Colour)
( this is Ideal because on the game, the hp & mp bars are in the top Left =] )
; Find a pure red pixel or a red pixel within 10 shades variations of pure red
$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000, 10 )
If Not @error Then
MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
EndIf
(MouseClick)
; Double click at 0,500
MouseClick("Right", 0, 500, 1
(Send)
Send("z")
Send("x")
(For...To...Step...Next)
For $i = 5 to 1 Step -1
MsgBox(0, "Count down!", $i)
Next
MsgBox(0,"", "Blast Off!")
Ok, I have read them through twice, and I choosed. For...To...Step...Next, for my Loop, tell me if this is correct loop?
which will worrys me I wont be able to make this script from scratch, due to I am beginner, thank you for your reply,
hope you reply back.
please tell me now what I have to do, in order to learn more