#how to make custom nickname skript

1 messages · Page 1 of 1 (latest)

outer laurel
#

I need /setname [customnickname] and /resetname

command /setname [<text>]:
    trigger:
        set player's displayname to arg 1
        set player's tablist name to arg 1
        set {setname.%player%} to arg 1
        set {setname.chat.%player%} to true

every 1 seconds:
    loop all players:
        set the loop-player's display name to "%{setname.%loop-player%}%"
        set tablist name of loop-player to "%{setname.%loop-player%}%"
        set display name of loop-player to "%{setname.%loop-player%}%"

This only changes the nicknames in the chat and the nicknames in the tab list, and does not change the nicknames that actually appear on the player's head.

grand linden
#
command /nickname <text>:
  permission: command.nickname
  trigger:
    set display name of player to colored arg
    send "&aNickname changed to &f%colored arg%&a."
rain hare
#

Im nlt home but i have a skript for thst with a reset

#

ight im home imma sent in a second

#

@outer laurel do you only need the reset?

outer laurel
#

um

#

can you give it to me for now?

rain hare
#

this is the full

#
command /nickname <text> [<player>]:
    trigger:
        set arg-2's display name to arg-1
        if arg-2 is not set:
            set player's display name to arg-1


command /resetnick [<player>]:
    trigger:
        set arg-1's display name to arg-1's name
        if arg-1 is not set:
            set player's display name to player's name
#

for reseting you just set the display name to player's name like shown

#

tell me if it worked

outer laurel
#

ok

rain hare
#

btw tell me if it helped i am a skript beginner and its one of my first skripts so if it helped you i will be really happy

#

tho this should work

#

i fully tested it

outer laurel
#

/nickname and /resetnick work well, but it doesn't work over the player's head again this time

#

What's your version?

rain hare
#

player head?

#

wdym by that

#

oh

#

hmmm

#

lemme see

#

like name tag?

outer laurel
#

yeahh,,

#

I've already used the set player's default name tag to arg-1 syntax, but it didn't work because it was the latest version

rain hare
#

you need an addon

#

either mundosk or tablinku

#

or

#

just type name tag in the skript hub docs and you can see many options\

#

which require diff skript addons

#

btw for your knowledge i never used those addons its just what most people use and recommend based on forums i saw

rapid gorge
#

this is the same thing i need, ive tried a million ways, and i cant create anything, the people helping here just dont really help that much, i said that i was new to skript and dont really know too much, and they just hit me with random links that when i click arent clear at all, and when i send a code they just say "try it and see it"

magic coral
#

word