mIRC Home    About    Download    Register    News    Help

Print Thread
nick color in custom action #255051 17/09/15 02:43 AM
Joined: Sep 2015
Posts: 6
G
Gustav Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Sep 2015
Posts: 6
Quote:
on 1:action:$($+(*,slap,*,$me,*)):*:{
.msg $chan That is rude L 0,1 $nick L .
}

So i'm trying to color the nickname on the slap action, but i keep getting an annoying space colored after the nickname.

I tried to remove the space after the "$nick", but i wouldn't get the nickname at the response at all.

Thanks in advance!

Re: nick color in custom action [Re: Gustav] #255056 17/09/15 04:01 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Use $+

L 0,1 $nick $+ L $+ .


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: nick color in custom action [Re: sparta] #255058 17/09/15 11:43 PM
Joined: Sep 2015
Posts: 6
G
Gustav Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Sep 2015
Posts: 6
Originally Posted By: sparta
Use $+

L 0,1 $nick $+ L $+ .

Worked great.
Thank you!