names are now in names.txt

This commit is contained in:
Storm Dragon 2014-05-04 20:01:10 -04:00
parent 5fafe828eb
commit d823d5737b

View File

@ -26,7 +26,7 @@ get_cpu_name()
local getCpuNameVariable=$1
local continue="false"
while [ "$continue" == "false" ] ; do
local cpuName=$(shuf -n 1 -e "Alicia" "Alonzo" "Anaya" "Andrew" "Anthony" "Billy" "Burt" "Cayden" "Dorothy" "Draken" "Dave" "Ember" "Faye" "Jeremy" "Kendell" "Kyle" "Labesia" "Storm" "Terence" "Tux" "Tyler")
local cpuName=$(shuf -n 1 names.txt)
if [ "${player[1]^}" != "${cpuName^}" ] ; then
local continue="true"
fi