Discord Thread Tab Priority using Skript

  • 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 comminuty!

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

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.
code_language.skript:
on join:
    while player is online:
        set player's tab list header to "%nl%<##f3ff18>&lN<##f5e828>&lO<##f6d137>&lT<##f8ba47>&lK<##faa356>&lI<##fb8c66>&lT<##fd7575>&lS &7- &d&lCRYSTAL%nl%%nl%&7Ping: &d%player's ping% &7| TPS: &d%tps from last minute% &7| Online: &d%number of online players%%nl%"
        set player's tab list footer to "%nl%&7notkits.com%nl%"
        set {prefix::%player%} to player's prefix
        set the player's tab list name to formatted "%{prefix::%player%}%&f %player's displayname%"
        wait 5 seconds
on chat:
    send "&r%{prefix::%player%}%&f %player's displayname% &7➤ &f%message%" to all players
on join:
    {stats::crystals::%player's uuid%} is not set:
        set {stats::crystals::%player's uuid%} to 0
    {stats::popped::%player's uuid%} is not set:
        set {stats::popped::%player's uuid%} to 0
the code so far.

Posted by: therewalker from the skUnity Discord.
 
Status
Not open for further replies.