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


Joined: 29 Sep 2004
Posts: 8

PostPosted: Mon Jan 31, 2005 8:27 pm   

triggering on multiple lines?
 
Ok,

how do i trigger this, to go west then kill cityguard?

[West]
The cityguard


of course if the cityguard is north or whatever other direction it should go that way aswell

I just can't figure out how to set a trigger using 2 lines, I read the tutorial on on skiplines, but i don't want it to skip anylines...

so if i only wanted to kill cityguards and nothing else in an area, how could i do that?
Reply with quote
Vorax
Apprentice


Joined: 29 Jun 2001
Posts: 198
Location: USA

PostPosted: Mon Jan 31, 2005 10:18 pm   
 
#TRIGGER {~[(%t)~]} {#VARIABLE Direction}
#CONDITION {The cityguard} {@Direction;kill cityguard} {within|param=1}

This only works for 'The cityguard' as you asked. It will find a direction within the square brackets and if the next line contains 'The cityguard' will move in that direction and execute the command 'kill cityguard'.
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