$iif(%nick ison $1,kick $1 %nick $iif($3,$3-,Banned),noop)
if there is no command for the second condition of $iif dont need to use "noop", just let it empty