#silenceraws off raw *:*:{ if ($numeric == 307) { set %loggedandstilllong $true | halt } else { halt } } #silenceraws end alias id { var %nick = $1 .!enable #silenceraws whois %nick pause ms 1 .timer -h 1 1500 .!disable #silenceraws var %id = $iif(%loggedandstilllong == $null,$false,$true) unset %loggedandstilllong return %id } alias -l pause { var %wsh = wsh $+ $ticks, %cmd if ($1 == s) %cmd = ping.exe -n $int($calc($2 + 1)) 127.0.0.1 else %cmd = pathping.exe -n -w 1 -q 1 -h 1 -p $iif($2 > 40,$calc($2 - 40),$2) 127.0.0.1 .comopen %wsh wscript.shell .comclose %wsh $com(%wsh,run,1,bstr*,% $+ comspec% /c %cmd >nul,uint,0,bool,true) }