Skript

Skript

743k Downloads

on inventory item move is broken

Saanjuk opened this issue ยท 1 comments

commented

Skript/Server Version

[22:40:48 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[22:40:48 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[22:40:48 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[22:40:48 INFO]: [Skript] Server Version: git-Purpur-2152 (MC: 1.20.4)
[22:40:48 INFO]: [Skript] Skript Version: 2.8.7 (skriptlang-github)
[22:40:48 INFO]: [Skript] Installed Skript Addons:
[22:40:48 INFO]: [Skript]  - Skellett v2.0.10 (https://forums.skunity.com/resources/skellett.24/)
[22:40:48 INFO]: [Skript]  - skRayFall v1.9.28 (https://sk.rayfall.net/)
[22:40:48 INFO]: [Skript]  - SkQuery v4.1.10
[22:40:48 INFO]: [Skript] Installed dependencies:
[22:40:48 INFO]: [Skript]  - Vault v1.7.3-b131
[22:40:48 INFO]: [Skript]  - WorldGuard v7.0.9+5934e49

Bug Description

event does not detect the destination inventory

[22:09:23 INFO]: 'northward hopper' at -2864.5, 66.5, -825.5 in world 'world' is transporting acacia wood button to 'northward hopper' at -2864.5, 66.5, -825.5 in world 'world'!

Expected Behavior

In the script below, the event should be print in the broadcast something like that:

"source inventory is transporting event-item to destination inventory"

Steps to Reproduce

on inventory move item:
set {_1} to past event-inventory
set {_2} to event-inventory
broadcast "%{_1}% is transporting %event-item% to %{_2}%!"
if name of event-inventory is {@chest_name}:

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

oh never mind... the mistake was in the documentation from "skriptlang.org" I should have used "future event-inventory" not "event-inventory"

I looked it up in other documentation and found the correct usage on skripthub.net