Yes, %a is defined.
I tested it with an echo to see what would happen and it works fine:

Code:
alias test {
  var %a
  $null($regsub($1-, m/ ?([?!])\1+/g, \1, %a))
  echo -a msg $!chan %a
  halt
}


Quote:
Input: /test a???!!! b!?? c?!!
Output: msg $chan a?! b!? c?!


New username: hixxy