Author Topic: Custom Command Help  (Read 2315 times)

amy

  • Posts: 4
  • Turrets: +0/-0
Custom Command Help
« on: December 27, 2008, 03:11:51 am »
Hi,one of my friends is hosting a server and is trying to figure out if there is a way to make a custom Command for a scrim when,when a game ends you do the !cmd it will restart,
switch the players on the team from aliens to human human to aliens,i know how to start but i dont know what to do to activate it, i know there is a qvm base one that has that but my friends wants to see if it could be a custom command,
[command]
command = swap
exec       =
desc       = switch Aliens > Human | Human > Aliens
levels      = 4 7 8 9 10

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: Custom Command Help
« Reply #1 on: December 27, 2008, 06:18:00 am »
You can't put arguments like that into the custom commands, you'll need a custom QVM.
Lakitu7's QVM offers this feature in the form of a modifier for !restart (!restart switchteams)