Finding lore on a item

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

ImKingGolden

Member
Aug 11, 2020
21
1
3
24
I wanna know if there is a way to find lore on a item (example: "Damage: 4" i wanna get the 4 only or the lore as a variable), Any help Thanks :emoji_grinning:
 
im not sure but if its a specified lore you could do:
If lore at line %line% is "damage: %any number%:
set damage to 1
im bad at splitting but its a work around which checks if the damage is equilevant of something
and then sets damage to specified damage
 
Status
Not open for further replies.