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
NewZmudder
Newbie


Joined: 28 Jun 2003
Posts: 7
Location: United Kingdom

PostPosted: Thu Apr 14, 2005 9:46 am   

Help
 
Can someone give me an idea with ths trigger please:-

I want to catch two variables, but the trigger sometimes
may have three words in it..

eg: John swipes viciously at you with the blade!

or John swipes viciously at you the heavy mace!


Thanks
_________________
Geezer
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Thu Apr 14, 2005 10:43 am   
 
#TRIGGER {^(%w) swipes viciously at you (*)~!$} {#show %1 swiped at me %2!}

if you meant your examples to read:

John swipes viciously at you with the blade!

or John swipes viciously at you with the heavy mace!

change it to:

#TRIGGER {^(%w) swipes viciously at you with (*)~!$} {#show %1 swiped at me with %2!}
Reply with quote
NewZmudder
Newbie


Joined: 28 Jun 2003
Posts: 7
Location: United Kingdom

PostPosted: Thu Apr 14, 2005 12:00 pm   
 
Cheers for reply..

What i want to do is catch my attacker, and the weapon he is
using.

Initially i had (%w) swipes at you with the (%w)!

Worked fine on one worded weapons ie blade, but
not with heavy mace.
_________________
Geezer
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