Assume:
$scon(1).server == kernel-c.nj.us.dal.net
$scon(1).network == DALnet
%variable1 = Khaled
%variable2 = Hammer
Code:

alias myAlias return $gettok($server,-2-,46)
alias variable1 return %variable1 on $network
alias variable2 return %variable2 on $chans
alias chans var %s, %i = 1 | while ($chan(%i)) { %s = %S $ifmatch | inc %i } | return %s
  • $scon(1).myAlias returns dal.net
  • $scon(1).variable1 returns Khaled on DALnet
  • $scon(1).variable2 returns Hammer on #mIRC #HelpDesk
And yes, I realize that these are workarounds to what you want. I thought when this idea first came out that it'd be quite nice to be able to do something like:
  • $scon(2).send(3).file
  • $scon(4).myCustomIdentifier($nick,$server,$me,$chan).property
cool