int LastAnnounce = 0; if (CityTimerMinutesGone == 60) { SendAIMessage("One hour have passed since shield was put down by " + CityShieldWho + ". It can now be put up again.", 3); Bot.SendPrivateMessage(CityShieldWho, "Alien Invasion »» One hour have passed since you turned down cloak, remember to activate it again."); LastAnnounce = CityTimerMinutesGone; } else { if ((LastAnnounce + 60) == CityTimerMinutesGone) { SendAIMessage("More then one hour have passed since shield was put down by " + CityShieldWho + ". It can now be put up again.", 3); LastAnnounce = CityTimerMinutesGone; } }