persistidents 0

const kick         [ callvote 0 $arg1 $arg2 ]
const ban          [ callvote 1 $arg1  $arg2 ]
const removebans   [ callvote 2 $arg1 ]
const mastermode   [ callvote 3 $arg1 ]
const autoteam     [ callvote 4 $arg1 ]
const forceteam    [ callvote 5 $arg1 $arg2 ]
const forceme      [ if $numargs [ forceteam (player1 cn) $arg1 ] [ if (checkrange (player1 team) 0 1) [ forceteam (player1 cn) (! (player1 team)) ] ] ]
const giveadmin    [ callvote 6 $arg1 ]
const map          [ callvote 7 $arg1 $arg2 ]
const recorddemo   [ callvote 8 1 ]
const cleardemo    [ callvote 10 $arg1 ]
const cleardemos   [ callvote 10 0 ]
const serverdesc   [ callvote 11 $arg1 ]
const shuffleteams [ callvote 12 ]

const demo [
  _demofile = $arg1
  if $connected [
    addOnLoadOnce [ mode -1; map $_demofile ]
    disconnect
  ] [
    mode -1; map $_demofile
  ]
]

persistidents 1
