Changeset - r10963:9465f8d648f5
[Not reviewed]
master
0 1 1
rubidium - 16 years ago 2009-01-31 23:50:53
rubidium@openttd.org
(svn r15302) -Add: example file for on_server_connect.scr and document it in the scripts readme
2 files changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/scripts/on_server_connect.scr.example
Show inline comments
 
new file 100644
 
# Show a MOTD
 
say "Welcome..."
bin/scripts/readme.txt
Show inline comments
 
@@ -10,6 +10,8 @@ local scripts:
 
   should be used to set client optimization settings:
 
 - 'on_client.scr' is executed when you join a server [all clients]
 

	
 
 - 'on_server_connect.scr' is executed on the server when a client has joined (MOTD)
 

	
 
   should be used to set the servers port/ip and/or server optimization settings/patches:
 
 - 'pre_server.scr' is executed before the servers tcp stack is started [in-game only]
 
 - 'pre_dedicated.scr' is executed before the servers tcp stack is started [dedicated only]
0 comments (0 inline, 0 general)