I change the info on this in the Wiki, but now I have to check all my scripts that used this, ALL OF THEM! ALL MY MODS! :banghead:
I was getting message B when I should have got message A after a one time only flash of message B.
I discovered that SCAGameDay was 27 BUT GameDay was returning 27.27
So I change the short to a float and now the script works as it should.
But 27.27 seems...to much of a coincidence, like I am still missing something or my conclusion is wrong in some way.
;was short SCAGameDay;now it isFloat SCAGameDay if SCAGameday == Gamedayset MessagePTS to ( gamehour - SCAClock )message"A points %.2f"MessagePTSset SCAPoints to ( SCApoints + ( gamehour - SCAClock ) )set SCAClock to gamehourelseset MessagePTS to ( gamehour + ( 23 - SCAClock ) )message"B points %.2f SCAGameday %.2f gameday %.2f"MessagePTS SCAGameDay gamedayset SCAPoints to ( SCApoints + ( gamehour + ( 23 - SCAClock ) ) )set SCAClock to gamehour set SCAGameDay to GameDay endif