RISK
2012-01-14 09:23:33
I wish to make a while .. do loop to wait for the script to successfully cross an obstacle. But I am a little confused as to how this would work:
Does the 'and (IsMoving)' apply to both the previous 'nots'? Or does it apply to only the second one which is the level advancement text?
Thanks in advance for any help.
while (not(FindChatBoxText(Obstacle.ChatText, 8, clBlack)) or
(not(FindChatBoxText('adva', 8, clBlack))) and (IsMoving)) do
begin
end;Does the 'and (IsMoving)' apply to both the previous 'nots'? Or does it apply to only the second one which is the level advancement text?
Thanks in advance for any help.