Code:
ctcp *:[color:red]ctcp event[/color]:?:window $nick 


Where event is... well the event (e.g. ping or version)

If that's not what you were wanting then please be more specific.