Help with Online donors

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

KAVKAZIE

Active Member
Feb 27, 2017
146
0
16
Hey i need help to show player's prefix
Code:
code_language.skript:
command /test:
    trigger:
        loop all players:
            loop-player has permission "staff.rank"
            add loop-player to {_online donator::*}
        size of {_online donator::*} is 0:
            stop
        else:
            broadcast "&3&m--*-----------------------------------------------*--"
            broadcast " &8● &bOnline VIP &7► &3%{_online donator::*}%"
            broadcast "&3&m--*-----------------------------------------------*--"
 
code_language.skript:
command /test:
    trigger:
        loop all players:
            loop player has permission "staff.rank":
                add loop player to {_Donors::*}
        size of {_Donors::*} = 0:
            send "&fError, no donors are on"
        else:
            send ""
            loop {_Donors::*}:
                send "&8● &bVIP &3%loop-value%"
            send ""
            send "&fTotal Donors: &e%{_Donors::*}%"
[doublepost=1526300249,1526300203][/doublepost]or you could use the expression "display name of loop-value"