sockmark stores the data for later reference by
$sock().mark
i did sorta the same thing using global variables
if you want it to msg the nick
[code]
alias checkhost {
sockopen checkhost $+ $ticks $$1 80
}
on *:text:!serverstatus &:*:{
set %target $nick
checkhost $$2
}
on *:sockopen:checkhost*:{
msg %target $iif($sockerr,$false,$true - $sock($sockname).ip)
sockclose $sockname
unset %target
}
if you want it to msg the channel just substitute the red $nick
with $chan
and lastly use fibers code im betting theres something horribly wrong with mine
Last edited by NeUtRoN_StaR; 13/01/06 10:03 AM.