mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2020
Posts: 19
K
Kendy Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: May 2020
Posts: 19
I want to change from  «D6uLDv8 @ Corrupt-Net >> (with color) << nick @ networkname >> to (nick @ networkname) and there is no color, just how is black. Hope you could help rewrite that code to your liking?
For example, in a room chat, the nick talked to the room and displayed in the room as follows:
 «Robert @ Corrupt-Net» hello everybody
 << Hunken @ TurboIRC >> hello Robert, how are you?

I want it to look like this (nick @ networkname has no color):
(Robert @ Corrupt-Net) hello everybody
(Hunken @ TurboIRC) hello Robert, how are you?

I use the code:
on 1*:text:*:#misfits: {
if $nick == Hex { msg #IRCRelay $1- }
else {
msg #IRCRelay < $+  $+ $nick $+  $+ @ $+ $network $+ > $1- }
}

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
That code doesn't seem to have any colour in it.

Are you saying the server allows people to use colour codes in their nickname?

If so, just wrap $strip() around the $nick:

Code
msg #IRCRElay < $+ $strip($nick) $+ @ $+ $network $+ > $1- }


Link Copied to Clipboard