alias kick [ callvote 0 $arg1 $arg2 ]
alias ban [ callvote 1 $arg1  $arg2 ]
alias removebans [ callvote 2 $arg1 ]
alias mastermode [ callvote 3 $arg1 ]
alias autoteam [ callvote 4 $arg1 ]
alias forceteam [ callvote 5 $arg1 ]
alias giveadmin [ callvote 6 $arg1 ]
alias map [ callvote 7 $arg1 $arg2 ]
alias recorddemo [ callvote 8 1 ]
alias stopdemo [ callvote 9 ]
alias cleardemo [ callvote 10 $arg1 ]
alias cleardemos [ callvote 10 0 ]
alias serverdesc [ callvote 11 $arg1 ]
alias shuffleteams [ callvote 12 ]

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

