echo"There seems to be (a) running instance(s) of the game controller, do you want to brutally kill the processes? (Y/n)"
echo-e"$promptThere seems to be (a) running instance(s) of the game controller, do you want to brutally kill the processes? $info($choice""Y$info/$choice""n$info)$answer"
echo"I'm not sure what it does if you don't…"
echo-e"$infoI'm not sure what it does if you don't…$answer"
read userinput
read userinput
if["$userinput"="Y"-o"$userinput"="y"]
if["$userinput"="Y"-o"$userinput"="y"]
then
then
...
@@ -22,11 +36,12 @@ then
...
@@ -22,11 +36,12 @@ then
sleep 1
sleep 1
fi
fi
fi
fi
printf$normal
if[$# = 0 ]
if[$# = 0 ]
then
then
echo"(X)box or (P)S3 ?"
echo-e"$prompt($choice""X$prompt)box or ($choice""P$prompt)S3 ?$answer"
read userinput
read userinput
printf$normal
else
else
userinput="$1"
userinput="$1"
fi
fi
...
@@ -41,7 +56,7 @@ then
...
@@ -41,7 +56,7 @@ then
echo"Xbox it is"
echo"Xbox it is"
else
else
pad=""
pad=""
echo"Whatever"
echo-e"$mistake""Whatever"
fi
fi
export pad
export pad
...
@@ -50,21 +65,23 @@ then
...
@@ -50,21 +65,23 @@ then
userinput=$2
userinput=$2
else
else
# Give a list of available games
# Give a list of available games
echo What game would you like to play?
echo-e"$prompt"What game would you like to play?$info