mIRC Home    About    Download    Register    News    Help

Print Thread
$window(#channel).mdi is $null #270613 04/08/22 01:16 PM
Joined: Jul 2006
Posts: 3,923
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,923
The help file states that $window().mdi returns a $true/$false value, but it can return $null, either the help file or the behavior should be changed.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Re: $window(#channel).mdi is $null [Re: Wims] #270615 04/08/22 09:38 PM
Joined: Jul 2006
Posts: 3,923
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,923
Thought $window() could see channel window from a different connection but that's not the case, so it's just returning $null for non existing windows. Perhaps it's fine to leave the help file like that because the behavior is most likely consistent.


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