Are you sure you're not talking about the ident part?
You can't ban on the realname, it's not part of an address/host, you could ban the address depending on the realname but that wouldn't prevent that user from joining again if his host/ip, there is basically nothing that can be done to someone changing is host/ip, he is just a new user,


#mircscripting @ irc.swiftirc.net == the best mIRC help channel