Codes below does not give me any errors
VERSION: Skript 2.4-alpha4
It gave me this respectively:
- ""
- "inventory of <none>"
- "<none>"
Note, it also sends <none> when the player interacts in it's own inventory.
Welp? If this is not fixable, then I can find another way around it using variables.
VERSION: Skript 2.4-alpha4
Code:
command display list:
trigger:
open chest with 6 rows named "&6&lList" to player
wait 1 tick
# set slots here #
stop trigger
on inventory click:
if inventory name of player's current inventory is "&6&lList":
# do things... #
My Problem:
A player opens up the chest GUI using /display list... When the player interacts with the items, it should activate the on inventory click event and go into the if statement. BUT, it actually doesn't
I tried to see what this is:
A player opens up the chest GUI using /display list... When the player interacts with the items, it should activate the on inventory click event and go into the if statement. BUT, it actually doesn't
I tried to see what this is:
inventory name of player's current inventory
Code:
on inventory click:[/COLOR][/LEFT]
[COLOR=rgb(44, 44, 44)]
[LEFT] send "%inventory name of player's current inventory%"
send "%player's current inventory%"
send "%player's current inventory's name%"
It gave me this respectively:
- ""
- "inventory of <none>"
- "<none>"
Note, it also sends <none> when the player interacts in it's own inventory.
Welp? If this is not fixable, then I can find another way around it using variables.