event-item lore help

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

cuddlytrap

Member
Dec 18, 2020
26
0
1
54
i do this:
Code:
set lore of event-item to "%lore of event-item%||&7Blind I"
and it comes up with error:
upload_2021-2-21_12-8-52.png


can someone help pls? :emoji_grinning: it would be much appreciated
 
in my opinion, depends on where are u using the "event-item"
how do you mean?
[doublepost=1613987953,1613987773][/doublepost]if needed, this is the segment of code that requires that line:

Code:
on inventory click:
    if cursor slot of player is enchanted book:
        if name of cursor slot of player is "&bBlind I":
            if event-item is any axe:
                if lore of event-item doesn't contain "&bBlind I":
                    if lore of event-item doesn't contain "&5Blind II":
                        if lore of event-item doesn't contain "&6Blind III":
                            cancel the event
                            set lore of event-item to "%lore of event-item%||&bBlind I"
                            send "&aYour enchant has been successfully applied!" to the player
                            set cursor slot of player to air
 
Status
Not open for further replies.