I've been trying to figure out how to fix this for a bit now, can't seem to figure it out. I'm trying to make a command that shows a gui list of all players with a bounty.
(no errors)
Lemme know if you have any ideas/suggestions that could help <3
(no errors)
Code:
command /bountylist:
trigger:
loop all players:
if player is op:
clear {bounties::*}
if {bounty::%loop-player%} is greater than or equal to 10:
set {_p} to skull of loop-player named "&6%loop-player%" with lore "&7Bounty &8» &6%{bounty::%loop-player%}% &6⛃"
add {_p} to {bounties::*}
send "%{bounties::*}%" to player
open virtual chest inventory with 6 rows named "Bounties" to player
set {_slot} to 0
set {_pp} to 0
loop {_size} times:
add 1 to {_pp}
make gui slot {_slot} of player with {bounties::%{_pp}%} to do nothing
add 1 to {_slot}
Lemme know if you have any ideas/suggestions that could help <3