lilandywandy Posted June 24, 2005 Posted June 24, 2005 While 1 If PixelGetColor(120,777) = Dec("7b7984") Then Sleep(500) Send("{F1}") Sleep(7000) Send("{F2}") Sleep(200) Send("{F1}") Sleep(7000) Send("{F2}") Send("{F2}") Sleep(200) Send("{F2}") EndIf If PixelGetColor(661,432) = Dec("e7dfe7") Then Sleep(2000) how can i make script terminate If PixelGetColor(661,432) = Dec("e7dfe7") Then
/dev/null Posted June 24, 2005 Posted June 24, 2005 how can i make script terminate If PixelGetColor(661,432) = Dec("e7dfe7") Then<{POST_SNAPBACK}>If PixelGetColor(661,432) = Dec("e7dfe7") Then exitCheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
ezzetabi Posted June 24, 2005 Posted June 24, 2005 Using only While 1 when you need a exit condition is pretty stupid... While PixelGetColor(661,432) <> 0xe7dfe7 If PixelGetColor(120,777) = 0x7b7984 Then Sleep(500) Send("{F1}") Sleep(7000) Send("{F2}") Sleep(200) Send("{F1}") Sleep(7000) Send("{F2}") Send("{F2}") Sleep(200) Send("{F2}") EndIf Sleep(1) Wend
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now