I am not on here often, so sorry for the late reply (also missed that your post is in the MQ2Bot forum - clicked from the "New posts" section).
If HTW's pointer to IF statements didn't help you solve your problem, here are a few ideas from the wiki:
The first thing you need to know is how Mind...