diff options
author | truelight <truelight@openttd.org> | 2004-12-13 15:07:33 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-13 15:07:33 +0000 |
commit | 5f83ee4554dafc7ec24ef6e56696a4e63525e2bc (patch) | |
tree | 029adcdd03324420db502f4d1db5a6098ab232fc /scripts | |
parent | 0f83be4d5b1b071fd831c4c72490e60ef22527eb (diff) | |
download | openttd-5f83ee4554dafc7ec24ef6e56696a4e63525e2bc.tar.xz |
(svn r1053) -Change: [Console] Changed 'setservername', 'setpassword', 'protect' and 'name' in:
- set server_pw "password"
- set server_name "servername"
- set company_pw "password"
- set name "playername"
(patch by sign_de)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/on_client.scr.example | 1 | ||||
-rw-r--r-- | scripts/on_dedicated.scr.example | 4 | ||||
-rw-r--r-- | scripts/readme.txt | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/scripts/on_client.scr.example b/scripts/on_client.scr.example index b63563f4f..53db9b9c2 100644 --- a/scripts/on_client.scr.example +++ b/scripts/on_client.scr.example @@ -1 +1,2 @@ echo "Setting default network client settings..." +set name "myname" diff --git a/scripts/on_dedicated.scr.example b/scripts/on_dedicated.scr.example index 4df6c8be8..53cee5a63 100644 --- a/scripts/on_dedicated.scr.example +++ b/scripts/on_dedicated.scr.example @@ -1,3 +1,3 @@ echo "Setting dedicated network server settings..." -setpassword "*" -setservername "My example dedicated gameserver" +set server_pw "*" +set server_name "My example dedicated gameserver" diff --git a/scripts/readme.txt b/scripts/readme.txt index 20132b62c..99535e37c 100644 --- a/scripts/readme.txt +++ b/scripts/readme.txt @@ -3,9 +3,9 @@ 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 + - 'on_client.scr' is executed when you join a server as client + - 'on_server.scr' is executed when you start a server / dedicated server + - 'on_dedicated.scr' is additionally executed when you start a dedicated server For examples how a script can look, check the .example examples. |