i edited the last post
i think your $iif might be backwards
and regardless it just echos it
i think you might be looking to send what it returns to the person who called the script but im not sure
just for clarity on your end (should u need it) an echo is seen by only you

what passes the script the addresses or ips to check?
ie does the user specify what the script checks
does it read if from some file

as for getting it to the person who requested it
msg $nick $iif($sockerr,$true - $sock($sockname).ip,$false)
or
notice $nick $iif($sockerr,$true - $sock($sockname).ip,$false)


Last edited by NeUtRoN_StaR; 13/01/06 09:21 AM.