This is the first lesson of a tutorial to learn to script. I'll add more in the future to teach toscript big AIs able to play anything at a good level, using the discoveries made by many scripters in the history.
It consists in an AI heavily commented to people understand how it works and be albe to create their own and powerful AIs.
Of course a complete tutorial provides info to start to script, but any scripter still needs its own creativy (knowledges increase it), test its AI, compete against others in the Ladder and other tournaments, share info with other scripters, etc.
I know that this tutorial AI still lack important info like TSA, dynamic gatherer percentages, diversity of strategies, capacity to play water maps, and several setting, etc. But as said, this is only the first lesson.