(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:
Darkvater
2005-05-28 16:59:51 +00:00
parent 8ef3f896f5
commit 426aa514ff
7 changed files with 21 additions and 10 deletions

View File

@@ -1,6 +1,4 @@
#
# send chat messages from the console with
#
# ] s i love this chat
#
alias "s" "say %!"
alias s "say %!"

View File

@@ -1,2 +1,2 @@
echo "Setting default network client settings..."
set name "myname"
name = "myname"

View File

@@ -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"

View File

@@ -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

View File

@@ -1 +1,2 @@
set server_port 3979
# set the server port to the default value
server_port = 3979