Wouldn't it be better if you made aliases instead of on TEXT? That way nobody can see what you typed and you wouldn't need a bot for this.
Example:
alias unban { mode $1 -b $2 | msg %Admin $2 Has Been Unbanned From $1 $+ . }
If you do convert these to aliases, remember this:
In /unban , would be $1 and not $2.