buldthensnip/run.sh
Sean Gordon a3a66dcec5 Updated run.sh with new address
aoswiki.rakiru.com is now behind cloudflare
(Sorry for the commit spam - I'm using the github.com web editor)
2013-06-09 01:46:59 +02:00

33 lines
961 B
Bash
Executable File

#!/bin/bash
PS3='Please enter your choice: '
options=("Single-player" "rakiru's server" "Lighting test" "Map editor" "PMF editor" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Single-player")
echo "Starting local server..."
./iceball -s 0 pkg/base pkg/maps/mesa.vxl
;;
"rakiru's server")
echo "Joining rakiru's server..."
./iceball -c play.iceballga.me 20737
;;
"Lighting test")
echo "Starting local server with lighting test..."
./iceball -s 0 pkg/iceball/radtest
;;
"Map editor")
echo "Starting map editor..."
./iceball -s 0 pkg/iceball/mapedit
;;
"PMF editor")
echo "Starting PMF editor..."
./iceball -s 0 pkg/iceball/pmfedit
;;
"Quit")
break
;;
*) echo invalid option;;
esac
done