why using nickserv ?
not every network uses nickserv.
it would be great to use all mirc internal stuff in your script.
ns / cs / bs are all anope services, and undernet does not uses anope :/