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
NO Xplode
Newbie


Joined: 03 Dec 2007
Posts: 4

PostPosted: Wed Dec 19, 2007 5:21 am   

ignoring certain text
 
How do you make a trig to ignore certain things like there's these flags in my mud that's {flying} {white aura}, and they'[re only in {}, but I want to capture peoples names so here it is

{white aura}XLODE is here.
Mccmam is here.

How do I make it capture XLODE and MCCMAM with one trigger?
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Wed Dec 19, 2007 9:00 am   
 
Code:
#TRIGGER {(%w) is here.$} {#VAR First_name %1}
#COND {(%w) is here.$} {#VAR Second_name %1}

This works for your example.

This might be closer to what you're looking for...
Code:
#TRIGGER {(%w) is here.$} {#ADDITEM Those_here %1}
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