I agree with your points, i should have used the RAW instead of a simple message. However my code allows an user to store more than one nickname, while yours allows only one alias to be set (%nickpass). Also, someone with the nickname 'Nicksevr' could easly trigger the script, fortunately you used RAWs

) One last thing would be that not all networks will return something after calling the $Network identifier... i guess you could just $gettok the $server name...
I think both codes are good, with a few difference, but still good.