hello! i have a queue system and need to pick a random player from the list. how?
code:
command /queue:
permission: staff.use
trigger:
if {queue::*} does not contain player:
add player to {queue::*}
send "&7[&0Queue&7] You have &a&ljoined &7the queue." to player
else:
remove player from {queue::*}
send "&7[&0Queue&7] You have &c&lleft &7the queue." to player