Sign in to follow this  
Followers 0
DNnlee

help on while not = loop

4 posts in this topic

#1 ·  Posted (edited)

i was wondering if i can do this

main question on : WHILE $extra not = 1113197098

$extra = PixelChecksum(72,194,73,195)

while $extra not = 1113197098

if $stats = 1 Then

fordex()

EndIf

$extra = PixelChecksum(72,194,73,195)

Sleep(500)

WEnd

Edited by DNnlee

Share this post


Link to post
Share on other sites



give this a try.

$extra = PixelChecksum(72,194,73,195)
while 1
If $extra <> 1113197098 Then
if $stats = 1 Then
fordex()
EndIf
EndIf
$extra = PixelChecksum(72,194,73,195)
Sleep(500)
WEnd

Share this post


Link to post
Share on other sites

Hi... as a newbie myself, I hope I'm not intruding...

When using NOT in a While loop, wouldn't you place the logical operator before the expression? eg:

While Not $extra = 1113197098

If that's only "another way to do it", then please excuse me.

k3v

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0