[Solved]Function works with one word search but not 2 words
Posted: Fri May 28, 2010 11:13 pm
Ok, I have a count function that get's triggered when I extract poison from certain critters.
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.
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?