mIRC Home    About    Download    Register    News    Help

Print Thread
#93942 13/08/04 02:24 AM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
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 ?

#93943 13/08/04 03:04 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
/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.

#93944 13/08/04 03:50 AM
Joined: Jul 2004
Posts: 169
S
ShinZon Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jul 2004
Posts: 169
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 ?

Last edited by ShinZon; 13/08/04 03:58 AM.
#93945 13/08/04 04:10 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#93946 13/08/04 02:48 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
/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.


"All we are saying is give peace a chance" -- John Lennon
#93947 13/08/04 03:41 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
The -sN switch was introduced in mIRC v6.14. It won't work in 6.03, mIRC simply ignores it.


Link Copied to Clipboard