You could just have a simple setColor[Red] event and do the rest by script if you wanted, OR you could actually make this special thing an event of its own.
How do you put an event in a brick?
(Note it's not onPlant, it's an actual %brick = new fxDTSBrick() type thing.)