[go: up one dir, main page]

Menu

[r11]: / ai / script / printhello.py  Maximize  Restore  History

Download this file

15 lines (14 with data), 339 Bytes

 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