ok, it'd be really easy to tell you exactly what you want if you could paste an example of what you are trying to do, inside some
tags of course. I'll guess at what you mean though and toss out some sort of answer.
What you seem to be talking about is a scenario in which, IF(#1) "a dog" is "hot" THEN(#1) IF(#2) "there is some water" THEN(#2) "go drink some water" and if not you want it to do nothing.
This can easily be accomplished by using nested If/Then statements, ie; one lying inside of eachother, and to accomplish the do nothing aspect of the code, simply do not include an Else aspect to the script. If this wasn't what you were describing leave a comment, and it would help some source code, and I'll help you figure it out.