Malarious2007-12-30 06:53:21
How do you make a trigger that may or may not need a second line?
That is, it will always show on 1 line unless the persons name is over X characters long.. then its on the second line.
For instance..
A hideous archdemon vomits forth a stream of noxious fluid that strikes
Carameshian, coating him with a thick green slime.
Most of the time the name is on the first line, and its important to have the @target variable included.
Thanks for help in advance!
That is, it will always show on 1 line unless the persons name is over X characters long.. then its on the second line.
For instance..
A hideous archdemon vomits forth a stream of noxious fluid that strikes
Carameshian, coating him with a thick green slime.
Most of the time the name is on the first line, and its important to have the @target variable included.
Thanks for help in advance!
Xenthos2007-12-30 06:55:32
zMud, cMud, Nexus, mushclient?
Best way for all of these:
CONFIG WRAPWIDTH 0
or
CONFIG WRAPWIDTH 250
Best way for all of these:
CONFIG WRAPWIDTH 0
or
CONFIG WRAPWIDTH 250
Malarious2007-12-30 06:56:32
QUOTE(Xenthos @ Dec 30 2007, 01:55 AM) 471308
zMud, cMud, Nexus, mushclient?
Best way for all of these:
CONFIG WRAPWIDTH 0
or
CONFIG WRAPWIDTH 250
Best way for all of these:
CONFIG WRAPWIDTH 0
or
CONFIG WRAPWIDTH 250
This also kills systems not made for this..
and zmud
Unknown2007-12-30 07:00:17
Wrapwidth is the best solution, if you can wrapwidth with your client.
Otherwise, in case you know that it can be either one or two lines, and you know when and where it can happen, you can just set two triggers for it, one as one line and the second when it splits.
Otherwise, in case you know that it can be either one or two lines, and you know when and where it can happen, you can just set two triggers for it, one as one line and the second when it splits.
Malarious2007-12-30 07:05:46
I have 2 triggers for it right now would like to simplify to one
Unknown2007-12-30 07:13:05
What if the original trigger is:
^A hideous archdemon vomits forth a stream of noxious fluid that strikes
And the second state is:
green slime.$
Because green slime looks like it's going to be on the second line no matter what.
^A hideous archdemon vomits forth a stream of noxious fluid that strikes
And the second state is:
green slime.$
Because green slime looks like it's going to be on the second line no matter what.
Malarious2007-12-30 07:25:35
QUOTE(Deschain @ Dec 30 2007, 02:13 AM) 471317
What if the original trigger is:
^A hideous archdemon vomits forth a stream of noxious fluid that strikes
And the second state is:
green slime.$
Because green slime looks like it's going to be on the second line no matter what.
^A hideous archdemon vomits forth a stream of noxious fluid that strikes
And the second state is:
green slime.$
Because green slime looks like it's going to be on the second line no matter what.
Has to have @target in it... but @target could be first or second line.. otherwise I would see everyones demons
Malarious2007-12-30 07:26:59
Would
^A hideous archdemon vomits forth a stream of noxious fluid that strikes
Second state:
@target within 1 line also match on that line?
^A hideous archdemon vomits forth a stream of noxious fluid that strikes
Second state:
@target within 1 line also match on that line?
Unknown2007-12-30 07:27:26
I think two triggers or increasing wrapwidth is the only way to go.
Malarious2007-12-30 07:28:03
Damn
THanks all
THanks all
Unknown2007-12-30 07:29:17
You might be able to do something with wildcards (its the only way to make multi-line triggers in nexus), but wildcards are good way to make your system slower
Unknown2007-12-30 17:47:06
You can make a trigger with three states. The first is the part of the first line up to just before the target's name. The second is the target's name (use @target, of course) and is a reparse trigger. The third is also the target's name, but it's a within 1 line trigger.
Unknown2007-12-30 19:28:01
Maybe do a multiline trigger like this?:
First line:
A hideous archdemon vomits forth a stream of noxious fluid that strikes {(@target),|}$
Second Line:
{(@target), |}coating him with a thick green slime.
I don't think this would be super efficient, but maybe it would work in this case?
First line:
A hideous archdemon vomits forth a stream of noxious fluid that strikes {(@target),|}$
Second Line:
{(@target), |}coating him with a thick green slime.
I don't think this would be super efficient, but maybe it would work in this case?