alias aecho echo $iif($cid == $activecid,-a,-s) $1-
to test it .. in a channel or query window or something
type
/scid -at1 aecho testthat will echo to the active window on the active CID and to the status window of the other CID
your
echo command with the
-a switch will make it echo to the active window no matter if active window is different CID or not.