Roughly speaking, this is the code for 1 - 4:

console_command control greek_cities
campaign_wait 60
console_command control romans_julii
campaign_wait 60
It works, more or less. The AI does play turns for all the factions, and it does advance to the next turn. There are problems with the code (eg dialog boxes; using campaign_wait rather than a more sophisticated trigger) but I'd like to focus on getting the overall logical structure working first.