Hello Dray, and welcome to the .Org!
I believe line should be "SetGameEndDate:: nnnn", not SetEndDate. Make sure you add it to the era you start the game with (early.txt for Early, etc.), and I'm not sure it works for a game already in progress.
Hopefully this works for you!
Bookmarks