Try adding "Dim $iparray[0]" at the top of your script.

Also you do not need to get the IP address multiple times.

[ 17. March 2003, 05:13: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/