Ah wow, many thanks! Ive got the randomizing working perfectly

How would i go about the IF tb1 + tb2 = tb3 it says "output1" if not it says "output2"