mystic/mrc-server/prompt-v1.sh
2024-04-20 12:20:30 +02:00

9 lines
371 B
Bash

MRCSERVER=$(whiptail --title "Multi Relay Chat Server Support in Mystic" --radiolist --cancel-button Exit-Script "Choose Yes No" 8 58 2 \
"Yes" "Add MrC Server Support" OFF \
"No" "Don't add MrC Server Support" ON \
3>&1 1>&2 2>&3)
exitstatus=$?
if [ $exitstatus = 0 ]; then
echo -e "${DGN}Add Multi Realy Chat Server Support: ${BGN}$MRCSERVER${CL}"
fi