Here is a patch to enable scripted AI players. The patch is against r7582.
There is also an example AI in sqai.zip. You have to put this in the program directory (or under addons/)
Enjoy! any feedback appreciated.
-- sqai.zip - the test AI
-- scripted-ai.zip - the patch
-- Windows GDI executable can be downloaded here: http://simutrans-germany.com/files/upload/sim-wingdi.zip
To start an AI player: open player list window, select 'Scripted AIs', activate player, click 'Load Scripted AI', then select the AI to play.
This is work in progress. No load & save support.