home *** CD-ROM | disk | FTP | other *** search
- #!tcl
-
- #
- # Quake 2/3 Master Server mappings
- #
- if {$argc == 0} {
- error {Usage: qs IPaddress|off}
- }
- set addr [lindex $argv 0]
- if {$addr == "off"} {
- exec "ppmaps delete udp 8002"
- exec "umaps delete 8002"
- } else {
- exec "ppmap add udp 8002 $addr 8002"
- exec "umap add 8002 1"
- }
-