Unknown2005-02-22 04:32:14
So, can it be done? I've never needed to do it before but the number of variations in knight messages is so annoying that I really need to by now.
Drago2005-02-22 04:35:51
It is, but I've never bothered for the knight messages.
If you want to trigger off say..
Bob slashes at you with a monkey-tail sabre. He slices open an artery
and blood goes everywhere.
#trigger {Bob slashes at you with a monkey-tail sabre. He slices open an artery$and blood goes everywhere.}
Works.
Oh and on some lines it doesn't end with the word, it ends with a space, so you need to be careful of that as well.
#triggerBob slashes at you with a monkey-tail sabre. He slices open an artery $and blood goes everywhere.} instead.
If you want to trigger off say..
Bob slashes at you with a monkey-tail sabre. He slices open an artery
and blood goes everywhere.
#trigger {Bob slashes at you with a monkey-tail sabre. He slices open an artery$and blood goes everywhere.}
Works.
Oh and on some lines it doesn't end with the word, it ends with a space, so you need to be careful of that as well.
#triggerBob slashes at you with a monkey-tail sabre. He slices open an artery $and blood goes everywhere.} instead.
Unknown2005-02-22 06:30:07
Thanks!
Unknown2005-02-22 07:18:15
Conditions are useful too.
Drago2005-02-22 07:39:40
I broke my system when I tried to change it to conds and promptly decided multiline triggers are more helpful.
Except where I want to color a big paragraph.
Except where I want to color a big paragraph.
Unknown2005-02-22 07:45:37
We don't all break our systems, Drago... 

Drago2005-02-22 07:57:20
Its easier to type out as well.
#trigger {bob does something.} {#var bobisdoingsomthing 1}
#cond {You feel stupid suddenly.} {#if (@bobisdoingsomething=1) {#var bobmadeyoustuipid 1} {within|param=1}
As compared to
#trigger {bob does something.$You feel stupid suddenly.}{#var bobmadeyoustuipid 1}

#trigger {bob does something.} {#var bobisdoingsomthing 1}
#cond {You feel stupid suddenly.} {#if (@bobisdoingsomething=1) {#var bobmadeyoustuipid 1} {within|param=1}
As compared to
#trigger {bob does something.$You feel stupid suddenly.}{#var bobmadeyoustuipid 1}

Unknown2005-02-22 08:08:29
1) You don't need to write it out using zMUD's "Settings" window stuff.
2) See 4).
3) You can do more stuff with it.
2) See 4).
3) You can do more stuff with it.
Drago2005-02-22 08:25:21
2) See 4)
3) Only if you want to go totally over the top with your system = un-needed.
3) Only if you want to go totally over the top with your system = un-needed.
Unknown2005-02-22 08:33:58
No, it can be useful with basic stuff. Zarquan uses it instead of $...
Oops, I forgot number 4:
4) See 2).
Oops, I forgot number 4:
4) See 2).
Unknown2005-02-22 09:27:19
Multi-line triggers are slow. And trigger states are oh so wonderful for oh so many things.
celahir2005-02-22 13:11:28
What i do is set it so when it sees:
Bob does something
It opens a class that then reads the:
blood in all directions
this afflicts then the class closes when it sees the prompt.
This is similar to dragos, just realised
Bob does something
It opens a class that then reads the:
blood in all directions
this afflicts then the class closes when it sees the prompt.
This is similar to dragos, just realised

Unknown2005-02-22 13:43:04
Multi-state triggers are really far more efficient and will work in more cases than using $ in the middle of your patterns. The knight attacks are a perfect example of this, too. You have knights using different weapons, which changes the length of the line by quite a lot. Using multi-state triggers, you can catch more cases.
Now, you have to carefully construct your triggers to catch the right phrases, as they can still wrap in places you wouldn't expect. Making two or three such multi-state triggers is still far more effective than making 10 simple triggers with $ in the middle.
CODE
#TRIGGER {{cuts|slices|smites|pounds|hacks} your ({left|right}) ({arm|leg})} {}
#COND {blood spurts} {#var CutArtery_%t1_%t2 1} {within|param=1}
#COND {blood spurts} {#var CutArtery_%t1_%t2 1} {within|param=1}
Now, you have to carefully construct your triggers to catch the right phrases, as they can still wrap in places you wouldn't expect. Making two or three such multi-state triggers is still far more effective than making 10 simple triggers with $ in the middle.
Unknown2005-02-23 03:31:47
Told you, Drago. 

Drago2005-02-23 03:35:28
Phht, I barely have a system for Lusternia anyway. Everythings too complicated for me to bother. 
Plus I do well enough with my limited selection of triggers anyway.
You don't need conds for many situations not on lusternia anyway.

Plus I do well enough with my limited selection of triggers anyway.
You don't need conds for many situations not on lusternia anyway.
Unknown2005-02-23 04:11:36
QUOTE(Drago @ Feb 22 2005, 09:25 PM)
Only if you want to go totally over the top with your system = un-needed.
57001
... What was that?

Drago2005-02-23 04:16:55
Un-needed
There's not much you can do with a conditional trigger that you can't do with a normal one if you think about it.
And both can still be fairly un-neded.. Like.. checking if something was an illusion, rather then watching afflictions yourself.

And both can still be fairly un-neded.. Like.. checking if something was an illusion, rather then watching afflictions yourself.
Unknown2005-02-23 06:42:53
QUOTE(Drago @ Feb 23 2005, 05:16 PM)
Un-needed
There's not much you can do with a conditional trigger that you can't do with a normal one if you think about it.

57735
Did you read Zarquan's post?
Drago2005-02-23 06:53:09
No, I ignored it as being irrelevant to my dislike of conditionals
.
Plus, as I've said, my Lusternia system is, and always will be, pretty damn crap, unless someone feels like giving me theirs for free

Plus, as I've said, my Lusternia system is, and always will be, pretty damn crap, unless someone feels like giving me theirs for free

Unknown2005-02-23 08:13:46
Maybe if you put in #CONDs it wouldn't be so crap. 
