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
elektrisk
Novice


Joined: 06 May 2008
Posts: 38

PostPosted: Sat May 30, 2009 7:01 pm   

Simple zMUD trigger help.
 
Hi. I want to make a trigger that will automatically look at a mob when I see it. The problem is, the string for the mob is different if I have detect alignment on.

With detect alignment:
(White Aura) A villager of Yeranda strolls along happily here.

Without:
A villager of Yeranda strolls along happily here.

If I make two separate triggers for both situations, then both triggers fire when I have detect align on.

How can I make ONE trigger so that it'll work in both situations?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat May 30, 2009 7:15 pm   
 
#trig {A villager of Yeranda strolls along happily here.} {look at villager}

That's it. A trigger pattern can appear anywhere in the line, not just at the start.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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