(/me once again opens himself up to ridicule and yes I *DID* search! (and read the help!))
This is only useful in halting default text to be honest. (or anything similar)
Example:
on ^*:text:*:*:{
echo -ci2t normal $targetname ( $+ $nick $+ ) $1-
haltdef
}
This echos '(nick) message' in the window where the message was sent, so if it was sent in lets say #chan3 then the $targetname would be #chan3, if it was via a private message then it would be nick. Same for dcc's and Status Windows etc.
As I'm aware of there is no current way of doing this without coding some kind of work around, if I'm wrong then point me out.