[Skellett] Nametag Error [SOLVED]

Discussion in 'Skript' started by DarioCas, Jun 9, 2018.

  1. hi Guys,

    I wrote a nametag script, but I have a problem with it.
    this is the Script:

    Code (Text):
    on skript start:
        create nametag "a-admin"
        set prefix of nametag "a-admin" to "{@AdminTag}"
        create nametag "b-developer"
        set prefix of nametag "b-developer" to "{@DeveloperTag}"
        create nametag "c-moderator"
        set prefix of nametag "c-moderator" to "{@ModeratorTag}"
        create nametag "d-supporter"
        set prefix of nametag "d-supporter" to "{@SupporterTag}"
        create nametag "e-youtuber"
        set prefix of nametag "e-youtuber" to "{@YoutuberTag}"
        create nametag "f-premium"
        set prefix of nametag "f-premium" to "{@PremiumTag}"
        create nametag "g-spieler"
        set prefix of nametag "g-spieler" to "{@SpielerTag}"
    on join:
        if player has permission "admin.tag":
            add player to nametag "a-admin"
         
        if player has permission "developer.tag":
            add player to nametag "b-developer"
         
        if player has permission "moderator.tag":
            add player to nametag "c-moderator"
         
        if player has permission "supporter.tag":
            add player to nametag "d-supporter"
         
        if player has permission "youtuber.tag":
            add player to nametag "e-youtuber"
         
        if player has permission "premium.tag":
            add player to nametag "f-premium"
         
        if player has permission "spieler.tag":
            add player to nametag "g-spieler"
    But then i get this problem:

    Code (Text):
    [09:33:48 ERROR]: [Skript] [skellett] [get] prefix [of] [the] [name][ ]tag [with] [id] %string% can't be set to anything (Tags.sk, line 102: set prefix of nametag "a-admin" to "{@AdminTag}"')
    [09:33:48 ERROR]: [Skript] [skellett] [get] prefix [of] [the] [name][ ]tag [with] [id] %string% can't be set to anything (Tags.sk, line 104: set prefix of nametag "b-developer" to "{@DeveloperTag}"')
    [09:33:48 ERROR]: [Skript] [skellett] [get] prefix [of] [the] [name][ ]tag [with] [id] %string% can't be set to anything (Tags.sk, line 106: set prefix of nametag "c-moderator" to "{@ModeratorTag}"')
    [09:33:48 ERROR]: [Skript] [skellett] [get] prefix [of] [the] [name][ ]tag [with] [id] %string% can't be set to anything (Tags.sk, line 108: set prefix of nametag "d-supporter" to "{@SupporterTag}"')
    [09:33:48 ERROR]: [Skript] [skellett] [get] prefix [of] [the] [name][ ]tag [with] [id] %string% can't be set to anything (Tags.sk, line 110: set prefix of nametag "e-youtuber" to "{@YoutuberTag}"')
    [09:33:48 ERROR]: [Skript] [skellett] [get] prefix [of] [the] [name][ ]tag [with] [id] %string% can't be set to anything (Tags.sk, line 112: set prefix of nametag "f-premium" to "{@PremiumTag}"')
    [09:33:48 ERROR]: [Skript] [skellett] [get] prefix [of] [the] [name][ ]tag [with] [id] %string% can't be set to anything (Tags.sk, line 114: set prefix of nametag "g-spieler" to "{@SpielerTag}"')

    If anyone can help me, i would be very Thankful! :D

    regards
    DarioCas
     
    #1 DarioCas, Jun 9, 2018
    Last edited: Jun 19, 2018
  2. What is this skript supposed to do? Do you want to edit the nametag of the player?
     
  3. You might want to tell us what you need help with next time you need help..