+
+mkdir -p ~/.xonotic-map-compiler-autobuild/ # to store map compile times in
+tstart=`date +%s`
+
+lasttime=`cat ~/.xonotic-map-compiler-autobuild/"${M##*/}".buildtime 2>/dev/null || true`
+if [ -n "$lasttime" ] ; then
+ echo "Done in approximately $((($lasttime+59)/60)) minutes."
+ if [ -n "$IRCSPAM" ]; then
+ echo "Done in approximately $((($lasttime+59)/60)) minutes." | $IRCSPAM >/dev/null 2>&1 || true
+ fi
+fi
+