20 Jun 10, 06:34PM
(This post was last modified: 20 Jun 10, 06:37PM by a_slow_old_man.)
Improved swapteams script by Cid:
[SELECT ALL] Code:
//fixed up swapteams script
//usage: /swapteams MAXCLIENTS - MAXCLIENTS being the maximum number of clients on the server, assumes 20
alias swapteams [
alias _numclients $arg1;
if (= $_numclients 0) [
alias _numclients 20 //no num specified, assume 20
]
alias _curnum 0;
loop i $_numclients [
sleep (* 100 $i) [
forceteam $_curnum;
_curnum = (+ $_curnum 1);
]
]
]