Sorry for incovenient question, if u want, you can delete it,
but this line
sockwrite -n $sockname User-Agent: mIRC no-ip Update/1.0 blackjackketcham@yahoo.com
this email blackjackketcham@yahoo.com its really necessary?
by the way, as ever Good script 9/10