Well, heres a basic $nid whch returns the groupname used in the /server command.
  • on ^*:logon:*:set %nid. $+ $cid $network
    alias nid return %nid. [ $+ [ $cid ] ]
    on *:exit:unset %nid.*