Is Nick Online - Scripting Help - 01/04/04 02:30 PM
Good morning all!
Been playing around with mIRC scripting for a couple of weeks. Having a serious problem with the following code:
I've tried everything I can think of, to get it to work. It keeps hanging (I think at "if ( $var(%WhoIsResults,0) == 0 ) { /return $false }") and not giving me any error msg.
Thanks a ton for any help or advice you have!
Been playing around with mIRC scripting for a couple of weeks. Having a serious problem with the following code:
Code:
#CaptureWhois on raw 311:*:{set %WhoIsResults $1-} #CaptureWhois end alias UserOnline { if ( $$1 == $null ) { /return $false /halt } /unset %WhoIsResults /.enable #CaptureWhois /whois $$1 /.disable #CaptureWhois if ( $var(%WhoIsResults,0) == 0 ) { /return $false } else { /return $true } /unset %WhoIsResults } alias test { /UserOnline Tristan if ( $result == $true ) { /echo Online } else { /echo Offline } }
I've tried everything I can think of, to get it to work. It keeps hanging (I think at "if ( $var(%WhoIsResults,0) == 0 ) { /return $false }") and not giving me any error msg.
Thanks a ton for any help or advice you have!