Skript not performing actions when told...

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

pendar7

Member
Dec 31, 2021
4
0
1
21
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:
on right click:
if player is holding book named "Test 1":
broadcast "Test 1"

on right click:
if player is holding book named "Test 2":
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?
 
Status
Not open for further replies.