summaryrefslogtreecommitdiff
path: root/scripts/readme.txt
blob: 20132b62c894cc00a0ba800c4d499c62c4e10483 (plain)
1
2
3
4
5
6
7
8
9
10
11
Scripting
---------

OpenTTD supports scripts.

 - 'on_client.scr' is runned when you join a server as client
 - 'on_server.scr' is runned when you start a server
 - 'on_dedicated.scr' is runned when you start a dedicated server

For examples how a script can look, check the .example examples.