i used this code in training and chatlogs on pioyu the chatbot.i used this part of the code 
conversation.topic != "run"
conversation.topic = "run";
many times.

And it skips over the first response.

keyphrase=stop running
response=stops running and stands there is there anything else you want me to do? 
conversation.topic != "run"
conversation.topic = "run";
response=I have already stopped running 

did someone code it for limited use?