Lets say theres several nicknames/addresses you want to ban all at once but you don't want to bother getting all of their addresses.
Syntax: /bana Nick1 nick2 address1 nick3
and so on... There is no limit (Except your $modespl of course)
It will evaluate the nickname's address by 2 and if you included an address then it will add that as well. If !@ is not included in the address (so you only banned @users.at.network) then it will add the ! as well. If !@ is all in, then it will use \1 (the normal address you put in.)
Example: /bana Edson bug !@hello.hawkee.com @this.is.a.test `Morphos
Return: Phoenix sets mode: +bbbbb !@pvp.suxxx.net !@82F53AAE.37392142.6A5B4C4D.IP !@hello.hawkee.com !@this.is.a.test !@irc.darklite.be
Edit: Fixed it because something caused a bad error - Made it shorter as well.
alias bana { mode # $str(b,$modespl) $regsubex($1-,/(\S+)/g,$+($iif($address(\1,2) != $null,$address(\1,2),$+(\1,!*@*)))) }