Joli2005-09-02 04:56:42
Ok, I really suck at making triggers and I can't find anyone who knows how to tinker with Nexus. So could someone give me the script to color people's names please?
Shiri2005-09-02 05:50:32
Pretty easy.
#highlight ""
OR
#highlight ""
For example,
#highlight "5"
or
#highlight "3 on 2"
N.B most combinations are borked for some obscure reason. And a lot of things simply won't be coloured, even though all other things pertaining to the trigger take effect when the trigger fires and the same colour works on other triggers...>_<
EDIT: Also note, these -will- be laggy, because there's no such thing as a stringlist or database, so Nexus will be checking every word to make sure it's the right one...or something. Anyway, it's annoying. Also, your IG highlights (config coloour on channels or whatever) will override your Nexus highlights, because Nexus colouration is applied before IG colouration.
And to save someone else having to bring this up - only colour numbers up to 7 can be used for the background colour.
#highlight "
OR
#highlight "
For example,
#highlight "5"
or
#highlight "3 on 2"
N.B most combinations are borked for some obscure reason. And a lot of things simply won't be coloured, even though all other things pertaining to the trigger take effect when the trigger fires and the same colour works on other triggers...>_<
EDIT: Also note, these -will- be laggy, because there's no such thing as a stringlist or database, so Nexus will be checking every word to make sure it's the right one...or something. Anyway, it's annoying. Also, your IG highlights (config coloour on channels or whatever) will override your Nexus highlights, because Nexus colouration is applied before IG colouration.
And to save someone else having to bring this up - only colour numbers up to 7 can be used for the background colour.
Jitwix2005-09-02 05:56:47
To be more specific
Create New Refex -> Trigger
Enter the person's name in the top box.
Then in the script box enter something such as:
Colours available:
black
red
green
yellow
blue
magenta
cyan
white
grey
bold red
bold green
bold yellow
bold blue
bold magenta
bold cyan
bold white
Create New Refex -> Trigger
Enter the person's name in the top box.
Then in the script box enter something such as:
CODE
#highlight "bold yellow on black"
Colours available:
black
red
green
yellow
blue
magenta
cyan
white
grey
bold red
bold green
bold yellow
bold blue
bold magenta
bold cyan
bold white
Shiri2005-09-02 06:02:38
You could use either Jitwix's colour names or the ANSI colour code numbers displayed in CONFIG COLOUR, actually.
Joli2005-09-02 06:09:47
Ah, thanks! Wasn't that hard. It makes thirdeye actually worth using now.
Jitwix2005-09-02 08:42:13
QUOTE(Shiri @ Sep 2 2005, 08:02 AM)
You could use either Jitwix's colour names or the ANSI colour code numbers displayed in CONFIG COLOUR, actually.
177763
Doesn't seem to work for me...
QUOTE
(warning) line 1: "11 on 0" is not a valid color scheme
Shiri2005-09-02 08:48:58
QUOTE(Jitwix @ Sep 2 2005, 09:42 AM)
Doesn't seem to work for me...
177925
CONFIG COLOUR doesn't have a colour 0 when I look at it anyway...
Jitwix2005-09-02 09:28:08
QUOTE(Shiri @ Sep 2 2005, 10:48 AM)
CONFIG COLOUR doesn't have a colour 0 when I look at it anyway...
177934
Cause its black. It's there - between FG: and 1. Highlight over it, or change background to leather, and you'll see it.
You're right though, if I don't use 0 it works. I just prefer the background colour to be black, so I didn't try any other.
Shiri2005-09-02 09:32:10
QUOTE(Jitwix @ Sep 2 2005, 10:28 AM)
Cause its black. It's there - between FG: and 1. Highlight over it, or change background to leather, and you'll see it.
You're right though, if I don't use 0 it works. I just prefer the background colour to be black, so I didn't try any other.
You're right though, if I don't use 0 it works. I just prefer the background colour to be black, so I didn't try any other.
177946
You could like, not put a background colour at all.
Just use
#highlight "11"
Doesn't have to be on anything if you do it that way.
Jitwix2005-09-02 09:36:51
QUOTE(Shiri @ Sep 2 2005, 11:32 AM)
You could like, not put a background colour at all.
Just use
#highlight "11"
Doesn't have to be on anything if you do it that way.
Just use
#highlight "11"
Doesn't have to be on anything if you do it that way.
177948
Oh well, I know the colour names anyway now.
Shiri2005-09-09 08:05:53
Incidentally, I found what was causing highlights to randomly fail for no good reason.
Anchoring.
For some STUPID reason Nexus refuses to highlight triggers that are anchored with {<} or {>} signs to either side of a line. I can only imagine this is because it tries to colour the {<} and can't...or something. I'm going to bug this, but if you were wondering, this is why.
EDIT: Okay, not necessarily. But I swear it has something to do with it. A trigger wasn't working, but I removed the {<} and without any other alteration it worked.
Anchoring.
For some STUPID reason Nexus refuses to highlight triggers that are anchored with {<} or {>} signs to either side of a line. I can only imagine this is because it tries to colour the {<} and can't...or something. I'm going to bug this, but if you were wondering, this is why.
EDIT: Okay, not necessarily. But I swear it has something to do with it. A trigger wasn't working, but I removed the {<} and without any other alteration it worked.