Add lore to a varible

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

BoxMiners

Member
Jul 19, 2022
47
0
6
18
Code:
on damage:
    attacker is player:
        if name of attacker's held item contains "Staff" or "staff":
        set {_wpdamage} to lore of attacker's held item split at "||"

Errors:
upload_2022-8-21_21-6-59.png


idk how to fix and i have tried some things diffrent things but it still dont work. Anyone know how to fix?
 
1. you need to set a LIST to a split, a split will return more than 1 string
2. you can't split the entire lore, thats already multiple strings
 
Status
Not open for further replies.