#!/usr/bin/bash --posix set +e [[ "${1}" == "" ]] && echo "Error - Invalid Server ID" \ && echo " Usage: Mordhau-Connect-Server [Server-ID]" \ && exit 1 tmux attach-session -t "Mordhau-Server-${1}" \ &>/dev/null || tmux attach-session -t "Mordhau-Server-${1}" exit ${?}