Pretty simple really, Below are two alias's and a remote version alias, for the ~q: one paste in 'alias' located in your script editor and type /bq to silence them & /uq to remove. Next is the channel ban again post in your alias section and type /bc <#channel> , /ubc <#channel> to undo... Now we are onto the remote version real name ban, put this in remotes(alt+r) and type /brn to ban their real name, I havent yet made one to undo this, so you'll just have to undo it like every other ban.. either double click on the active window or manually remove it.
each section is seperated by ##########... these shouldn't be added into your script editor.
############## Silence ban alias ################
/bq /mode $chan +b ~q: $+ $address( $$1 $+ ,2)
/uq /mode $chan -b ~q: $+ $address( $$1 $+ ,2)
############# Channel ban alias #################
/cb /mode $chan +b ~c: $+ $$1
/ubc /mode $chan -b ~c: $+ $$1
######### Remote real name ban ###########
alias brn { set %banrealname $chan | whois $$1 }
raw 311:*:{ if (%banrealname) { mode %banrealname +b ~r: $+ $replace($6-,$chr(32),_) | unset %banrealname } }