But then - to my knowledge - no other identifier handles a "text"-parameter in this way.
While it's the missing chantype prefix ( $chan(#status window).mode is $null, like $chan(#).mode ), I'd find it apt to return $null for all "non-numeric" params that are no existing channel, regardless of a missing chantype char...

At the moment:
//echo -a $chantypes --- $chan(&bla).mode
NetA: #& ---
NetB: # --- N [same as $chan(0)]

That aside, $chan($null) is the same as $chan(), not $chan(0). It's a big difference whether an invalid parameter is treated like $null or 0.

Last edited by Horstl; 19/01/10 04:50 AM.