• Support
  • Articles
  • Resources
  • Products
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead

Waiting for character loop

Moderator: boris

5 postsPage 1 of 1

Saud
Beginner

Posts:
27
Joined: Sun Jun 01, 2008 9:14 am
by Saud » Thu Sep 08, 2016 7:14 am
Trevor
Guru

Posts:
485
Joined: Wed Jul 26, 2006 8:47 am
by Trevor » Sat Sep 10, 2016 8:49 pm
Saud
Beginner

Posts:
27
Joined: Sun Jun 01, 2008 9:14 am
by Saud » Thu Sep 22, 2016 6:54 am
Trevor,

Can I do OR like below example whay doesn’t works.

wait 'A' 'B' 'C'

if result == 1|2|3 then

dispstr ' text for A'


Thanks
boris
Moderator, LogMeTT and TTLEditor developer

Posts:
1598
Joined: Sat Jan 08, 2005 2:52 pm
by boris » Thu Sep 22, 2016 4:26 pm
You can achieve your goal by replacing wait with waitregex. If you are not familiar with regular expressions, use this free tool to build them http://www.ultrapico.com/expressodownload.htm
Thanks.
Best regards,
Boris
Trevor
Guru

Posts:
485
Joined: Wed Jul 26, 2006 8:47 am
by Trevor » Fri Sep 23, 2016 10:48 am
Display posts from previous:
Sort by:

5 postsPage 1 of 1

Users browsing this forum: No registered users