team change happens immediately

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3215 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-23 20:25:49 +00:00
parent 4af1bcc81c
commit 64e9a1c13d
+3 -3
View File
@@ -45,9 +45,9 @@ alias resetbinds [ exec config/resetbinds.cfg; echo " 3All binds have been reset
// "changeteam" command.
alias changeteam [
if (= (curteam) 1) [ team CLA ] [ team RVSF ]
sleep 1000 [ if (= (curteam) 0) [ echo "You are now on team 3CLA" ] [ echo "You are now on team 1RVSF" ] ]
]
if (= (curteam) 1) [ team CLA ] [ team RVSF ]
if (= (curteam) 0) [ echo "You are now on team 3CLA" ] [ echo "You are now on team 1RVSF" ]
]
// Mode/map-setting aliases.