.K ""
echo "This script installs the GMC-BBS scripts in the ENV: and ENVARC:"
echo "after checking if they are available. If they are available you"
echo "will be asked if you really want to install them."
echo ""
echo "Dieses Script installiert die GMC-BBS Scripts im ENV: und ENVARC:"
echo "nachdem es berprft hat, ob diese nicht schon vorhanden sind."
echo "Wenn das der Fall ist, werden Sie gefragt ob Sie wirklich"
echo "diese Installation vornehmen wollen."

echo ""
ask "Press Enter to continue - Drcken Sie Enter um fortzufahren"

echo ""
echo "checking - berprfe ENV:GMC-BBS"
if exists ENV:
  if not exists ENV:GMC-BBS
    echo "The scripts do not exist - Die Scripts existieren noch nicht."
  else
    echo "The directory of the Scripts already exists in the ENV: !"
    echo "Das Verzeichnis der Scripts existiert bereits im ENV: !"
  endif
  echo "Do you want to install the scripts ? [y/N]"
  ask "Wollen Sie die Scripts installieren ? [y/N]"
  if WARN
    echo "Installing the scripts in the ENV:"
    echo "Installiere die Scripts im ENV:"
    if not exists ENV:GMC-BBS
      makedir ENV:GMC-BBS
    endif
    copy scripts/#?.script ENV:GMC-BBS
  else
    echo "The scripts have not been installed !"
    echo "Die Scripts wurden nicht installiert !"
  endif
endif

echo ""
echo "checking - berprfe ENVARC:GMC-BBS"
if exists ENVARC:
  if not exists ENVARC:GMC-BBS
    echo "The scripts do not exist - Die Scripts existieren noch nicht."
  else
    echo "The directory of the Scripts already exists in the ENVARC: !"
    echo "Das Verzeichnis der Scripts existiert bereits im ENVARC: !"
  endif
  echo "Do you want to install the scripts ? [y/N]"
  ask "Wollen Sie die Scripts installieren ? [y/N]"
  if WARN
    echo "Installing the scripts in the ENVARC:"
    echo "Installiere die Scripts im ENVARC:"
    if not exists ENVARC:GMC-BBS
      makedir ENVARC:GMC-BBS
    endif
    copy scripts/#?.script ENVARC:GMC-BBS
  else
    echo "The scripts have not been installed !"
    echo "Die Scripts wurden nicht installiert !"
  endif
endif

echo ""
echo "Finished. Klick on the Close Gadget to get rid of the window."
echo "Fertig. Klicken Sie auf das Close Gadget um das Fenster zu schlieen."
endcli
