forked from mirror/OpenTTD
(svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality
- Fix (console): any line starting with a '#' is a comment so ignore it - Fix (console): The special variables whose value can only be set by a custom process should, also print out their newly set value there, instead of relying on the default printout which is slightly confusing. Eg after you change the value it still printed out 'current value for...' instead of 'XXX changed to...'
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
#
|
||||
# send chat messages from the console with
|
||||
#
|
||||
# ] s i love this chat
|
||||
#
|
||||
alias "s" "say %!"
|
||||
alias s "say %!"
|
@@ -1,2 +1,2 @@
|
||||
echo "Setting default network client settings..."
|
||||
set name "myname"
|
||||
name = "myname"
|
||||
|
@@ -1,3 +1,4 @@
|
||||
echo "Setting dedicated network server settings..."
|
||||
set server_pw "*"
|
||||
set server_name "My example dedicated gameserver"
|
||||
# empty the server password
|
||||
server_pw = "*"
|
||||
server_name = "My example dedicated gameserver"
|
||||
|
@@ -1,2 +1,3 @@
|
||||
set server_ip 0.0.0.0
|
||||
set server_port 3979
|
||||
# set default server port, and have the dedicated server listen on all ports
|
||||
server_ip = 0.0.0.0
|
||||
server_port = 3979
|
||||
|
@@ -1 +1,2 @@
|
||||
set server_port 3979
|
||||
# set the server port to the default value
|
||||
server_port = 3979
|
||||
|
Reference in New Issue
Block a user