If you are always going to have those two connections as CID's 1 & 3
Code:
on *:TEXT:*:#ase:{
  var %a = $($1-,1),%b = $gettok([G]: :[Q],$cid,58),%c = 4 - $cid
  scid %c if ($me ison #ase) msg #ase %b $+(<,$nick,>) % $+ a
}