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


Joined: 03 Jan 2003
Posts: 12
Location: USA

PostPosted: Sat Jan 04, 2003 8:01 am   

Autokiller help
 
I remember seeing a previous post but I cannot find it again, what I am wanting to do is make an autokiller for someone who flees.

Dragon panics, and attempts to flee.
Dragon leaves west.

What would be the easiest way to go about this?
Thanks
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Sat Jan 04, 2003 8:32 am   
 
#TRIGGER {(%x) panics, and attempts to flee.$(%x) leaves (%t).} {#IF (%1 == %2) {%3;kill %1}}

Better if you have a variable set (eg: @Victim) for who you are beating up upon then you can:

#TRIGGER {@Victim panics, and attempts to flee.$@Victim leaves (%t).} {%1;kill @Victim}

else you will auto attack anything fleeing.



Ton Diening
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