Jump to content

HElp custom lore


TortoiseKing

Recommended Posts

So i have a skript where something with a certain lore does something on rightclick, but if i add multiple skript lores, none work. how do i fix this. 


heres the skript:

on rightclick:

  if lore of player's held item contains "&7Dragonblast":

    shoot dragon fireball at speed 10


so basically by itself with only that lore it works

but if i add any more, it doesnt. help pls :(

Link to comment
Share on other sites

Hmm how are you adding new lines? 

... with lore "Dragonblast%nl%Enchantment"

or

... with lore "Dragonblast" and "Enchantment"

 

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

53 minutes ago, TortoiseKing said:

well i want multiple custom enchants, so i use /itemlore add (from essentialsX) to add more lore from my other custom enchant skripts, and it stops working.

Hmm okai I'm unsure how essentialsX does it but another user reported a similar issue but with the name of items when using essentials. So idk what's causing it but try adding the lores yourself via Skript and check if it works without issues.

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...