Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import VS import sys class MyAI(VS.PythonAI): def init(self,un): self.XMLScript ("++turntowards.xml") self.AddReplaceLastOrder(1) def Execute(self): VS.PythonAI.Execute(self); sys.stdout.write('h') return '' hi1 = MyAI() print 'AI creation successful' hi1 = 0 #: 1.7; previous revision: 1.6