AC 1.1.1.0 scripts (currently SVN)
#8
Pretty much right, it would probably be (Here) or $Here depending on how it was implemented. It certainly wouldn't be a small script.

A new /forceall command designed for use in clan matches:

[cubescript]// forceall - designed for use in clan matches
// use:
// /forceall CLANTAGHERE rvsf - to force all players with CLANTAGHERE in their name to team rvsf.
// /forceall CLANTAGHERE cla - to force all players with CLANTAGHERE in their name to team cla.
forceall = [
if $connected [
forcetoken = $arg1
forcetm = $arg2
forcelist = ""
loop fpl 21 [
if (isclient $fpl) [
if (strstr (player $fpl name) $forcetoken) [
if (!= (player $fpl team) (at "0 1" (strcmp (tolower $forcetm) rvsf))) [
add2list forcelist $fpl
]
]
]
]
if (listlen $forcelist) [
// if (! (currole)) claimadmin // for those of you with a claimadmin/takeadmin script uncomment this line
if (currole) [
loop fal (listlen $forcelist) [
sleep (* $fal 1500) (format "forceteam %1" (at $forcelist $fal))
]
] [ echo (red)Error: (white)You need admin status for /forceall to work properly. ]
]
]
][/cubescript]
Thanks given by:


Messages In This Thread
AC 1.1.1.0 scripts (currently SVN) - by Bukz - 10 Jun 12, 04:22AM
RE: AC 1.1.1.0 scripts (currently SVN) - by Bukz - 11 Jun 12, 07:14AM