Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
warfox
Newbie


Joined: 13 Jan 2009
Posts: 3

PostPosted: Wed Jan 21, 2009 12:11 am   

setting triggs
 
i know ths is a stupid newbie question but what exactly do i typr to set a kill trigg in cmud
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jan 21, 2009 12:21 am   
 
Your going to have to explain what your want by a "kill" trigger? I may be a mind reader, but I am not quite that good.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Wed Jan 21, 2009 1:36 am   
 
This is the exact same question as was recently asked by yourself in a previous post - http://forums.zuggsoft.com/forums/viewtopic.php?t=32582 a post in which shalimar gave you the answer. It is not possible for us to fill in the {text telling you its time to kill} since we do not play your MUD and have no idea what this text is. You will need to provide it for yourself. So for instance if you enter a room and see a monster that you wish to automatically attack and the MUD shows you

In this room is a monster glaring at you.

on it's own line then the trigger that shalimar showed you will become

#TR {^In this room is a monster glaring at you.$} {kill monster}

or something to that effect. We cannot help you further if you don't tell us what you see in your MUD that you want to trigger on.
_________________
Taz :)
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Jan 21, 2009 8:39 am   
 
PS - you enter that #TR command on the command line, just like you were doing TICKLE TAZ or whatever on the MUD. If you look in the package editor once you've done that, you'll see a new trigger - the pattern box is filled in with whatever's inside the first set of {}, and the script box is the contents of the second set of {}s.

So you can create the trigger using the GUI that way if you want - click the arrow next to the plus on the package editor's toolbar and then select trigger. Fill in the pattern box with the first part (^In this room is a monster glaring at you.$ in this example) and the script box with the second part (kill monster) and click save, and that's it.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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