i have this code which can show more than 1 head in the menu but when i click on it. I just get the message of 1 of the players however i click on the other person.
Code:
else if arg-1 is "medlemmer":
if {bande.eco.%arg-2%} is set:
wait 3 ticks
open chest with 5 rows named "&a&lBande medlemmer" to player
wait 2 ticks
set {_slot} to 0
loop {bande.%arg-2%.members::*}:
if loop-value parsed as a player is online:
set {_player} to loop-value parsed as a player
set {_skull} to skull of {_player}
format slot {_slot} of player with {_skull} named "&a&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
else:
set {_player} to {name.%loop-value%}
set {_skull} to skull of {_player}
format slot {_slot} of player with {_skull} named "&c&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
add 1 to {_slot}