|
warfox Newbie
Joined: 13 Jan 2009 Posts: 3
|
Posted: 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
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: 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 :) |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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. |
|
|
|
|
|