Solved Make skript ignore lore

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

Spouth

Member
Jun 21, 2020
3
0
1
23
Code:
on rightclick:
   if player is sneaking:
       if player is wearing a diamond helmet named "&3Cool helmet":
           broadcast "a"
Ok, so ^ this works only with diamond helmets that are named Cool helmet, but if I add any lore, it doesn't work.
How do I make skript ignore lore, attributes, flags and only care about the name.
 
Code:
if player's helmet slot = diamond helmet:
  if name of player's helmet = "&3cool helmet":
    broadcast "Im cool"
 
  • Like
Reactions: Spouth
Status
Not open for further replies.