[SOLVED]Problems with triggering timer functions in 'if' staments

sigh thankyou so much, simple fixes. I'm still just learning so cheers for letting me know that.