-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathhints.lua
More file actions
34 lines (30 loc) · 813 Bytes
/
Copy pathhints.lua
File metadata and controls
34 lines (30 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
return {[[
How can I detect a map change?
Define the global function onGameStart().
It will be called once a new map started.
]]
,---------------------------------------
[[
Did you know you can extend the available
commands?
You can redefine the global function
onCommand(line). It will be called with
any input typed in the client unknown to
infon.
]]
,---------------------------------------
[[
Did you know you can load additional code
into your vm?
You can use dofile(source) to load files
into you vm. To see a list of available
files, call dofile_list() within your vm.
]]
,---------------------------------------
[[
By entering the values 0 upto 9 in the
commandline, you call the functions
onInput0 upto onInput9. You might use
them to change the strategy your bot
uses without much typing.
]]}