Check the -switches for /echo.
These can apply applicable settings from mIRCs Options dialog.
echo -mbflirt pretty much covers user messages.
The -m switch indicates that the line should be treated as a user message, not an event.
The -bf switches make it apply the beep/flash settings in the window it is echoing to.
The -l switch makes it apply the highlight settings to the line that's displayed.The -iN switch indents the wrapped line by N characters.
The -r switch applies the strip settings in the messages dialog.
The -t switch prefixes the line with a timestamp if global time stamping is on or timestamping is on for that window.
The -c switch uses the specified color name from the colors dialog.
(-c quit --- is color 2 by default IIRC)
on ^*:TEXT:*:#:{
echo -mbflirtc quit # $+(<,$remove($nick(#,$nick).pnick,$nick),$nick,>1) $1-
haltdef
}
$+(<,$left($remove($nick(#,$nick).pnick,$nick),1),$nick,>1)
- $+(string,string,string) is like "string $+ string $+ string"
- $nick(#,$nick).pnick = @nick, +nick, etc - but nick may be opped, hopped and voiced (and more) at the same time (e.g. @+nick)
- $remove($nick(#,$nick).pnick,$nick) == @+
- $left($remove($nick(#,$nick).pnick,$nick),1) = @ (in the example)
$+(<,$left($remove($nick(#,$nick).pnick,$nick),1),$nick,>1) = <@nick>1 or <+nick>1 etc