Shadow_UTubes Posted December 27, 2021 Share Posted December 27, 2021 Hey so heres a Skript that splits players into two teams is there a way to make it split the players into 8 teams instead? Heres the code command /split: trigger: set {_a} to 1 set {_count} to number of all players set {_evencheck} to {_count} mod 2 if {_evencheck} is equal to 0: loop players: if {_a} mod 2 = 1: add loop-player to {team1::*} if {_a} mod 2 = 0: add loop-player to {team2::*} add 1 to {_a} command /teams: trigger: send "Team One consists of: %{team1::*}%" send "Team Two consists of: %{team2::*}%" Link to comment Share on other sites More sharing options...
Shadow_UTubes Posted December 27, 2021 Author Share Posted December 27, 2021 Also if you can please make "set {_count} to number of all players" to "set {_count} to number of players in {queue::*}" Thanks! Link to comment Share on other sites More sharing options...
Pryzmm Posted December 28, 2021 Share Posted December 28, 2021 dont make the same post twice Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Recommended Posts