+UPDATEMC=0
+
+if [ ${#} -lt 1 ]; then
+ echo "Usage: 'minecraft <version>' or 'minecraft --add <version>'"
+ exit 1
+fi
+
+if [ "${1}" == "--add" ]; then
+ if [ "${#}" -ne 2 ]; then
+ echo "You must supply what version you are adding: 'minecraft --add <version>'"
+ exit 1
+ else
+ MC_NEW_FOLDER="${MC_HOME}/bin-${2}"
+ read -p "Will save new bin-folder called bin-${2}, press update when prompted."
+ UPDATEMC=1
+ fi
+fi
+
+if [ -z ${MC_HOME} ]; then
+ echo "Minecraft home folder not set! Baaaad idea!"