- am good at programing*
But can't work out how to add an IF statement!
we (the others users) have no glas-phere to look into in which way you coded a if-condition wrong.
There is no other way than posting the code.
have you ever looked into the reference?
I'm willing to help but not as long as you use such cryptic names like "T1", "T2" "and"
The compiler doesn't care about the names as long as they are all different for things that have to be different.
But humans care about names. It will become much easier to read the code if you consequently use self-explaining names.
best regards Stefan