Yes, it should look like
and then your code should follow.
Also you then have to compare iGameTurn ==586.
But it would imho be better to compare it to the year, because the game turn will change, when the speed is changed.
Also iAmerica is not defined.
Most easy way here: Look in your worldbuilder file (i guess, you have one) what number america it has there, and place the number instead there.
PHP:
def onBeginGameTurn(self, argsList):
'Called at the beginning of the end of each turn'
iGameTurn = argsList[0]
and then your code should follow.
Also you then have to compare iGameTurn ==586.
But it would imho be better to compare it to the year, because the game turn will change, when the speed is changed.
Also iAmerica is not defined.
Most easy way here: Look in your worldbuilder file (i guess, you have one) what number america it has there, and place the number instead there.