
Originally Posted by
hey321
Ok, how would i use an or statement in an until statement? I'm almost finished my dueler but i need it to do this:
PHP Code:
Repeat
//My code here
Until(InChat('Text Here') Or InChat('Text Here')
How exactly would i do that?
Edit: I think i've got it

lol. Lemme go see.
That way would work, now all you got to do is this.
PHP Code:
Repeat
//My code here
Until(InChat('Text Here1') Or InChat('Text Here2')
If(InChat('Text Here1')Then
Begin
//code here
End Else
If(InChat('Text Here2')Then
Begin
// other code here
end;
That will repeat your code until its either found inchat text1, or inchat text2.
If it found one of them, it will perform the procedures you want each one to do, if you want them to do the same procedure just do this.
PHP Code:
begin
Repeat
//My code here
Until(InChat('Text Here') Or InChat('Text Here')
//code here
end;
That will call the same procedure for both of them, when one is found.
Did this help?