This is my code:
It says https://cdn.discordapp.com/attachments/692420764779020338/704874329317441596/unknown.png
when I reload it and I cant figure out why...
Thanks in advance
Code:
command /glist2:
trigger:
loop all bungeecord players:
if loop-player has permission "staff.show": # Problem here
add loop-player to {_staff::*}
loop all bungeecord servers:
add all bungeecord players on server "%loop-value%" to {_players::*}
set {_size.hub} to size of bungee players on "Hub"
set {_size.hub} to size of bungee players on "Hub"
set {_size.kitpvp} to size of bungee players on "KitPvP"
set {_size.skylands} to size of bungee players on "SkyLands"
set {_size.event} to size of bungee players on "Event"
send "&4&lTotal Online &7- &c%{_players::*}%"
send "&4Hub &7- &c%{_size.hub}% online players"
send "&4KitPvP &7- &c%{_size.kitpvp}% online players"
send "&4SkyLands &7- &c%{_size.skylands}% online players"
send "&4Event &7- &c%{_size.event}% online players"
send "&8(&cOnline Staff&8)&7: %{_staff::*}%"
It says https://cdn.discordapp.com/attachments/692420764779020338/704874329317441596/unknown.png
when I reload it and I cant figure out why...
Thanks in advance