The script assumes you want a type 2, and makes special provisions for host addresses ending in .IP (it keeps the whole hostmask after the @)
It also will strip the leading ~ in the user ident when building the mask so that the address changes as follows:
nick!~user@someIRCserver-EEC2AA85.dial1.philadelphia1.level3.net
*!user@*dial1.philadelphia1.level3.net
this script is then loaded and a line is added to the userlist popups as:
name command
ignore ig1 %a
After that, its a simple matter to right click on a nick in the userlist and select ignore
The whole script is 49 lines or so, and I would be happy to put it out there for anyone interested.