I think i might try it like this
Code:
on *:ACTIVE:*:{
  if ($network != %network) { 
    set %network $network
    scid -t1 $activecid titlebar %network 
    scid -t2 $activecid titlebar %network Not Connected
  }
}


could add in server or port to with the $server and/or $port identifiers on the -at1 connections