https://paste.denizenscript.com/View/107806
To be more specific, the event is when the player right clicks anything. However, I don't want the rest of the command triggering when the player isn't looking at a mob. I tried experimenting with the <player.can_see[*].if_null[false]> tag but that didn't work. Mind you, everything else in the script works, but I'm trying to refine it where it doesn't just trigger any time the player right clicks anything. I only want it to trigger when the player right clicks when looking at an entity.
Content of Denizen Script Paste #107806: Meathook Script... pasted 2023/03/23 19:23:50 UTC-07:00, Paste length: 542 characters across 10 lines, Content: on player left clicks *: - if <player.equipment_map.get[helmet].advanced_matches[p...