mIRC Homepage
Posted By: ShinZon /cline - 13/08/04 02:24 AM
i have this in ON start

.cline %cnickl # $me

where %cnickl is color 10 that should make my nick to show different than others

but i always get error for this in status
* /cline: invalid window

so i persume itz because status is not #channel window
but how do i do it to work then ?
Posted By: Online Re: /cline - 13/08/04 03:04 AM
/cline is not suitable for coloring nicknames; use /cnick instead: //cnick -s1 $!me 10

For more info read /help /cnick and check the graphical interface: Alt+B >> Colors.
Posted By: ShinZon Re: /cline - 13/08/04 03:50 AM
i noticed lately that many ppl here gives this $!me or $!timer
and simmiliar, what is its purpose with "!" ?

i am a bit confused, there is no -s property in help file for mirc 6.03 and yet it works...

and where can i see this nickname color list ?
is it in some ini file ?
Posted By: starbucks_mafia Re: /cline - 13/08/04 04:10 AM
The ! is a way of preventing the identifier from being evaluated when the command is run. $!me actually evaluates to $me, which is what you want in this case so mIRC knows to colour the nickname $me (mIRC is smart enough to evaluate $me when it's doing the nick colouring) and not whatever $me evaluated to when you used the /cnick command.

I have no idea if the -s switch was documented in 6.03, but it certainly is in 6.16 - just one of the drawbacks of not upgrading I guess.
'The sN switch sorts the item into the Nth position in the list.'

You can see the nick colouring list in the Address Book (Alt+B) under the Colors tab.
Posted By: Zyzzyx26 Re: /cline - 13/08/04 02:48 PM
/cline inserted into the on START event wont work, because it tries to color when mIRC is first started. You can try with on JOIN or RAW 366

on me*:JOIN:#: cline %cnickl # $me

The me is used so it only triggers if you're the one joining that channel.

Note: As Online said, the /cline only works to color the nick in the nicklist, not in the channel messages.
Posted By: Iori Re: /cline - 13/08/04 03:41 PM
The -sN switch was introduced in mIRC v6.14. It won't work in 6.03, mIRC simply ignores it.
© mIRC Discussion Forums