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


Joined: 29 Sep 2009
Posts: 4

PostPosted: Tue Sep 29, 2009 6:00 pm   

Help with Alias!
 
Hello, I need some help (I suck at coding).

When monster flees this shows:

Monster walks north.
Monster has fled!

I want it to say:

Monster walks north.
Monster has fled NORTH!

However, when the monster sneaks, it only says:

Monster has fled!

Then I obviously don't want it to say anything else.

Is this doable?

Thanks.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Sep 29, 2009 6:52 pm   
 
#TRIGGER {%w walks (%w).} {}
#COND {(%w has fled)!} {#SUB {%1 %t1!}} {Within|param=1}

This is untested, but you'd want something similar to it if it doesn't work. If you don't get an affirmative by the time I return home tonight, I'll look into it for you.

Charneus
Reply with quote
NoBrainer
Newbie


Joined: 29 Sep 2009
Posts: 4

PostPosted: Sun Oct 04, 2009 8:38 am   
 
Thanks!
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