What it does, is it searches the source for the poison, then updates the count in my count table, and then sets the display in my display table so that another function that it calls will update the display.
So, for something like a rattlesnake, it does what it's supposed. It finds the right poison, and then updates accordingly. However, when it comes to something like a sea anemone, it does nothing. I've been trying to figure out what I'm missing.
The trigger is:
The script that is called is:
The script that actually does the search (which works outside of the above function, btw):
Any ideas?