Agreed, an escape character would be useful though:

Code:
on *:text:*[color:red]\[/color]:):#:{ }