Okay, so I have a clock on one of my games, and I've scripted it so that once it hits 12, it goes back to 1. The only problem is, I want the clock to say whether it's 1 AM or 1 PM. I made this script which looks fine to me:
IF %TIME = 12 AND %AMPM = 1 THEN
%AMPM := 2
IF %TIME = 12 AND %AMPM = 2 THEN
%AMPM := 1
... But it doesn't work. >.<
Anyone have any idea what's wrong with it?