Display name

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

Time4Games

Active Member
Jul 25, 2020
203
4
18
this code doesnt work. help pls (i use 2 spaces and not a tab)

Code:
command /test [<text>]:
  trigger:
    set arg-1 to display name of player
 
this code doesnt work. help pls (i use 2 spaces and not a tab)

Code:
command /test [<text>]:
  trigger:
    set arg-1 to display name of player
Syntax is not well formulated. The correct way would be something like this:
code_language.skript:
command /test [<text>]:
  trigger:
    arg 1 is set:
      set player's displayname to arg 1
 
ok thank you
and thanks for the quick reply
[doublepost=1596214066,1596212951][/doublepost]It doesnt work
it send that there are no errors but it doesnt change the display name
 
Well... i think that this need a addon, but this should work:
code_language.skript:
command /test <player> <string>:
    trigger:
        set nametag of arg 1 to "%arg 2%"

i tried it and i do need an addon.
do you know what addon do i need?
 
Status
Not open for further replies.