Just put If...Then statements after each click to direct the program to whatever function needs to happen when certain criteria are reached.