You can use $sock(name) it'll return the name if it's in use or $null if it's not.


-
MIMP