@Walter Hawkwood: Yes. Firaxis just inexplicably put that one annoying line in there while leaving all other UI settings as the previously active player had them. Well, I guess the clearEventMessages above is the other troublesome bit. Maybe just not clearing them would already improve matters in that respect.
@<Nexus>:
@<Nexus>:
print
writes to PythonDbg.log – provided that LoggingEnabled is set in CivilizationIV.ini. Not so convenient, but pretty robust. If you find your message in PythonDbg.log, you could test the conditionals in the loop in the same manner. Otherwise, I guess the key press could be the issue. Actually, I'm not sure if checking for that in CvEventManager.py will work in a BUG-based mod like RoM. I suppose it should. I see the Shift+F1 (with cheats enabled) shortcut in there for accessing the Replay screen (without needing to retire); does that one work in your mod?