How can I get my bots and objects to act different ways depending on different circumstances?