#making skript pick a random person for a game

1 messages · Page 1 of 1 (latest)

low halo
#

take it out of the loop all players

#

so backspace it once so its in line with loop all players

#

for both of the last lines

#

rn ur using the amount of players online times to select a player

#

yes

#

no

#
command /randomchoose:
    trigger:
        loop all players:
            if loop-player's world is "world":
                 add loop-player to {_random::*}
         set {_player} to random element out of {_random::*}
         send "The random player: %{_player}%"```