Just a very little snippet i use regularly in my own scripts you might find useful. Generally i find it better to include the little snippet where neccersary (usually with alias -l) rather than hardcode the scid/cid values, since that could cause errors if you connect to your servers in a different order for example.

Code:
alias net2cid {
  var %x = $scon(0), %y = 0
  while (%y <= %x) {
    if ($scon(%y).network == $1) {
      return $scon(%y)
    }
    inc %y
  }
}


example use: scid $net2cid(AustNet) echo -s testing

Obviously, replace AustNet with the name of a network of your choice (you can use //echo -a $network to make sure you have the name correct)


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby