So I've made GUIs before using skript [not skript-gui], it works when I'm detecting index of the event-slot
like:
if event-inventory = (metadata tag "ATM" of player):
cancel event
if index of event-slot is 2:```
However the past 2 days I've been setting up a GUI slightly different with unique slots per player coming from a list, the GUI opens and looks right, however if I click on slots with an item in nothing happens, [shown below]
-# *If I click empty slots it does detect it tho using an else: send "c"*
```on inventory click:
if event-inventory = (metadata tag "FMWaystone" of player):
if event-item's lore contains "&9Click me":
send "a"
set {_n} to line 2 of event-item's lore
replace all "&9ID&1: &8" in {_n} with ""
execute console command "/waystonetp %player% %{_n} parsed as integer%"```
### No Errors get sent, the skript reloads/loads perfectly fine. However Issue still exists
Does anyone know where the issue for the 2nd bit of code is?
-# MC Ver: 1.21.4
-# Skript Ver: 2.12.1
-# Addons:
-# - ~~SkRayFall v1.9.28~~
-# - skript-placeholders v1.7.0
-# - SkBee v3.11.2
-# - PoaSk v4.13.12
-# Dependencies:
-# - Vault v1.7.3-b131
-# - WorldGuard v7.0.13+82fdc65