Here's what I use

//echo $iif($cid == $activecid,-a,-s) <text>

~ Edit ~
Sorry, no I don't think it's a bug. -a echos to the active
window whether the originating connection is the active
connection or not. It's the intended behavior IMO, as it
should be, also IMO.

Last edited by mIRCManiac; 25/02/05 03:33 PM.