#!/bin/sh
clear
echo -e "\033[3;035m==========================================================================\033[0m"
echo -e "\033[3;036m
_______ __
| ___|.-----.-----.--| |.----.-----.-----.
| ___|| _ | _ | _ || _| _ | _ |
|_______||___ |___ |_____||__| |_____| __|
|_____|_____| |__|
Created and copyright by: poppabear
Contact: Irc.efnet.net:6667 #worxtech
Email: poppabear@worxtech.com
\033[0m"
echo -e "\033[3;035m==========================================================================\033[0m"
echo "Please select a option."
echo " "
echo "
[y] Install Eggdrop 1.6.18 (stable)
[n] Cancel
"
echo " "
printf "Do you wish to install Eggdrop [y/n]?: "
read egg_option
if [ "$egg_option" = "y" ] ; then
mkdir $HOME/eggdrop
cp -R /usr/userfiles/eggy/egg18/eggdrop/* $HOME/eggdrop
chown -R $USER:$GROUP $HOME/eggdrop
echo "Your Eggdrop directory has been created."
echo " "
echo "You can either choose to use this tool to help you get the eggdrop running or choose to configure it yourself."
echo " "
printf "Would you like to use this tool to configure your eggdrop [y/n]?"
read Q_CONF
if [ "$Q_CONF" = "y" ] ; then
cd $HOME/eggdrop
./makebot
fi
else
echo "You have cancelled the install process. No changes has been made."
echo " "
fi
echo "Support available at irc.efnet.net:6667 #worxtech"
echo "Thanks for choosing WorxTech as your hosting provider."
echo "Email: poppabear@worxtech.com"