Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
JustMe
Newbie


Joined: 16 May 2002
Posts: 8
Location: Estonia

PostPosted: Wed Jul 24, 2002 5:11 pm   

matching pattern list
 
i have a list of patterns i gotta trigger.
using #tr {{@list}} works only if list elements doesnt contain wildcard characters, like :
"%w attacks|%w attacks %w" etc.


Is this future implemented in zmud, or i have to use separate triggers with patterns(either directly or via #forall)?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Jul 24, 2002 9:27 pm   
 
The {list} syntax for patterns only accepts strings, no wildcards. I believe that this won't be changed either, it's just how it works.

However, there are ways to get around it. For example, you use this pattern for what you posted:
%w attacks

and it will match both.

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net