on *:TEXT:$($+($chr(63),announce *)):*:{ .amsg $2- }

That should work for "?announce <one or more characters>", however i dont know if /AMSG is the desired command of course frown