mIRC Home    About    Download    Register    News    Help

Print Thread
#207639 25/12/08 04:19 PM
Joined: Feb 2006
Posts: 32
Daveoh Offline OP
Ameglian cow
OP Offline
Ameglian cow
Joined: Feb 2006
Posts: 32
When the key of a channel is set to a single star (*) using +k *, the value returned by $chan().key is $null instead of containing the key. Multiple stars work however (** and so on.)

Using the current latest version (6.35).

Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Confirmed, even the mIRC channel central is displaying $null, and uncheck the "key" checkbox does not remove the mode.

Last edited by Wims; 25/12/08 06:56 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
On some networks * is provided by the server when a key is set but the user doesn't have authorisation to see what it is. There's no way for mIRC to tell the difference between when it represents a literal * and when it represents a hidden key.

Khaled has posted about this feature before.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
Thanks for the link, even if it does not change my opinion, now I doubt this will be changed


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard