Remove.

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

    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.
https://skunity.com/search?search=nick
Please, it's sooo easy to just search a little bit before asking questions

I would like to check if a player has a nickname or not, and if they have without a permission they have: remove it.

code_language.skript:
"%player's display name%" is not "%player%"
player doesn't have permission "permission"
set player's display name to "%player%"
And maybe to check if a nickname is different than his username: remove it.

Just remove the permission line from the previous code.

And just make you have no plugins that interfere with this, as it's globally shared by plugins, e.g by chat plugins like EssentialsChat. So if you modify a nickname with Essentials, it will be the same as if you modified it with Skript.
 
Status
Not open for further replies.