if event-inventoryaction is swap with cursor:
set {_csitem} to cursor slot of player
set {_apitem} to clicked item
if {_csitem} is enchanted book named "&fUncurse":
set {_enchs.%player%.currentitem::*} to the enchantments of {_apitem}
if {_enchs.%player%.currentitem::*} contains "Curse of Binding":
message "test"
#enchantment
1 messages · Page 1 of 1 (latest)
so ur trying to apply a enchant?
Does the test send?
nope
if event-inventoryaction is swap with cursor:
set {_csitem} to cursor slot of player
set {_apitem} to clicked item
if {_csitem} is enchanted book named "&fUncurse":
message "testest"
set {_enchs.%player%.currentitem::*} to the enchantments of {_apitem}
if {_enchs.%player%.currentitem::*} contains "Curse of Binding":
message "test"
testest works
before the test
if event-inventoryaction is swap with cursor:
set {_csitem} to cursor slot of player
set {_apitem} to clicked item
if {_csitem} is enchanted book named "&fUncurse":
message "%{_csitem}% %{_apitem}%"
set {_enchs.%player%.currentitem::*} to the enchantments of {_apitem}
if {_enchs.%player%.currentitem::*} contains "Curse of Binding":
message "test"
changed it to this instead.
well then i seems you know which condition fails
i think i see the error