Try use this:

Code:
on *:TEXT:swag*:#: {
  if (% [ $+ [ $1 ] ] !== 1) { set -u20 % [ $+ [ $1 ] ] 1 | msg $chan worked ! }
}