Remove start of named items

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

lateeagle

Active Member
Jan 29, 2025
104
8
18
How can i remove the "Netherite Sword named" from an item
I only need to remove it and get it as a variable
 
How can i remove the "Netherite Sword named" from an item
I only need to remove it and get it as a variable
what?

I'm not sure but is this what you want:


Python:
command /netheritesword:
    trigger:
        set {_netheriteSword} to netherite sword parsed as a itemtype

        give 1 of {_netheriteSword} named "aa" to players


Python:
command /netheritesword:
    trigger:
        set {_netheriteSword} to netherite sword

        give 1 of {_netheriteSword} named "aa" to players


Python:
command /netheritesword:
    trigger:
        set {_netheriteSword} to netherite sword named "aa"

        give 1 of {_netheriteSword} to players
 
  • Like
Reactions: lateeagle