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
Nickman
Beginner


Joined: 26 Feb 2003
Posts: 15

PostPosted: Tue Jun 15, 2004 12:15 pm   

need help with triggers
 
The mud output is
You receive 84+9 experience points.
and im using the following trigger to make a skin when mob dies.
#tr {You receive *.$(*)} {skin %item( @skinns, %random( 1, 6)) corpse}
But this trigger is completely messed with other mud outputs like
You receive 13 roots from blergh.
Anyone knows how can i ignore the whole number (84+9)?
(i tried to use as You receive %b experience points. but is not working.)

Thanks for the help.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Jun 15, 2004 12:22 pm   
 
Why not Reduce the amount it can match on
#tr {You receive * experience points.$(*)} {skin %item( @skinns, %random( 1, 6)) corpse}
Reply with quote
Nickman
Beginner


Joined: 26 Feb 2003
Posts: 15

PostPosted: Tue Jun 15, 2004 12:39 pm   
 
Ahh i didnt know the * ... but is working great .. Thanks much :)
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