1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Skript not performing actions when told...

Discussion in 'Skript' started by pendar7, Jan 10, 2022.

Thread Status:
Not open for further replies.
  1. pendar7

    pendar7 Member

    Joined:
    Dec 31, 2021
    Messages:
    3
    Likes Received:
    0
    So, after being on the 2.5.3 version of skript for a while now, I recently decided to switch over and update to 2.6....

    I hadn't noticed anything wrong with my skripts at first, but then found a problem. For an example to my issue, here is a scenario:

    Code (Text):
    1. on right click:
    2. if player is holding book named "Test 1":
    3. broadcast "Test 1"
    4.  
    5. on right click:
    6. if player is holding book named "Test 2":
    7. broadcast "Test 2"
    So say I had a skript set up like this. Well, before updating to 2.6, the skript would have performed like this:

    • Right click book named "Test 1" > Server broadcasts "Test 1"
    • Right click book named "Test 2" > Server broadcasts "Test 2"
    • Right click book > Nothing occurs

    But now, after updating to 2.6, this happens...

    • Right click book named "Test 1" > Server broadcasts "Test 1"
    • Right click book named "Test 2" > Server broadcasts "Test 2"
    • Right click book > Server broadcasts "Test 1" & Server broadcasts "Test 2"

    So it seems that after updating, if an item is unnamed and interacted with, and there are skripts that deal with this item if they are named, it will just perform all of those actions even though not asked to.

    Is this a bug in the update?
     
Thread Status:
Not open for further replies.

Share This Page

Loading...