for all players

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Natalciuu

Member
Nov 12, 2020
20
0
1
21
command /tl reload:
permission: sk.tab
trigger:
set tab header to "--\n---" and footer to "--" for all players

how do I set the tab for all players? I get an error when I do this.
 
command /tl reload:
permission: sk.tab
trigger:
set tab header to "--\n---" and footer to "--" for all players

how do I set the tab for all players? I get an error when I do this.
Whats the error, I cant help with anything without knowing this. But by looking at your code, its probably indentation.
It shhould have a tab between command and trigger
Code:
command /tl reload:
    permission: sk.tab
    trigger:
        set tab header to "--\n---" and footer to "--" for all players
 
If thats not the issue, then do what i told you in the skript discord earlier and
Code:
command /tl reload:
    trigger:
        loop all players:
            set tab header to "blah" and footer to "blah" for loop-player
 
Not sure, but this is an easy solution I think. I didn't get what you meant by this, though.
Code:
command /tl [<text>]:
  permission: tl.general
  trigger:
    if arg-1 is "show":
      set tab header to "hereyougo" and footer to "footer" for player
    else:
      if arg-1 is "clear":
        set tab header to "&f &r" and footer to "&f &r" for player
# Special color codes need Bukkit, which obviously you already have.
 
Status
Not open for further replies.