Someone in an IRC told me that this was possible but I haven't figured out how to do it.
I want to have my IRC client (HexChat) exec two commands when I connect to GameSurge:
/authserv AUTH alosecs *****
/umode +x
This will log me into the GameSurge network and mask my IP and location from everyone when I join the channel.