on inventory click:
if name of the event-inventory is "&aPerks":
if name of the clicked item is "&6Gold Block":
cancel event ```
Line 8: (Npcs/perks.sk)
[18:35:18 INFO]: Can't compare 'name of the clicked item' with a text
[18:35:18 INFO]: Line: if name of the clicked item is "&6Gold Block":
#need help clicking a named item in gui
1 messages · Page 1 of 1 (latest)