Tremulous Forum

Community => Servers => Topic started by: amy on December 27, 2008, 03:11:51 am

Title: Custom Command Help
Post by: amy 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
Title: Re: Custom Command Help
Post by: Death On Ice 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)