admin.cfg 875 B

1234567891011121314151617181920212223242526272829
  1. persistidents 0
  2. const kick [ callvote 0 $arg1 $arg2 ]
  3. const ban [ callvote 1 $arg1 $arg2 ]
  4. const removebans [ callvote 2 $arg1 ]
  5. const mastermode [ callvote 3 $arg1 ]
  6. const autoteam [ callvote 4 $arg1 ]
  7. const forceteam [ callvote 5 $arg1 $arg2 ]
  8. const forceme [ if $numargs [ forceteam (player1 cn) $arg1 ] [ if (checkrange (player1 team) 0 1) [ forceteam (player1 cn) (! (player1 team)) ] ] ]
  9. const giveadmin [ callvote 6 $arg1 ]
  10. const map [ callvote 7 $arg1 $arg2 ]
  11. const recorddemo [ callvote 8 1 ]
  12. const cleardemo [ callvote 10 $arg1 ]
  13. const cleardemos [ callvote 10 0 ]
  14. const serverdesc [ callvote 11 $arg1 ]
  15. const shuffleteams [ callvote 12 ]
  16. const demo [
  17. _demofile = $arg1
  18. if $connected [
  19. addOnLoadOnce [ mode -1; map $_demofile ]
  20. disconnect
  21. ] [
  22. mode -1; map $_demofile
  23. ]
  24. ]
  25. persistidents 1