If ($strip($1) == +b) mode $chan +b $adress ($2,4) should be if ($strip($1) == +b) mode $chan +b $address($2,4)