The script is ok, I would use the nHTMLn.dll for the internet connection part, and your bans will not really work that well. You have them set to ban by nick, and it is very easy to bypass them. I would use:
.ban -k # $nick 3
... $nick 3 == !user@.host or you could use $nick 13 which is: !*user@?.host, which is a little more accurate of a ban for aol users.