#!/bin/bash
PATH=$PATH:/usr/local/lib/inx
. f-colours

# Since nobody actually *reads* the intro to IRC ;-)

if ! [ -e $HOME/.first-irssi ] ; then
    bblack ; clear
    printf "\v\v"
    bold ; yellow
    echo -e "\t\t  You appear to be running irssi for the first time in this session."
    echo -e "\t\t  Just a reminder, if you haven't read the introduction to IRC:"
    white
    echo -e "\n\t\t  To quit and disconnect from the IRC network:"
    yellow
    echo -e "\n\t\t  /quit"
    white
    echo -e "\n\t\t  To leave a channnel:"
    yellow
    echo -e "\n\t\t  /part"
    white
    echo -e "\n\t\t  To join a channel:"
    yellow
    echo -e "\n\t\t  /join <channel name> (usually /join #something)"
    white
    echo -e "\n\t\t  Don't forget the slash :)\n "
    yellow
    echo -e "\t\t  This annoying message will only appear once, during this INX session ;)"
    echo -e "\t\t  Press any key to continue..."
    unbold
    read -s -n 1

    touch $HOME/.first-irssi
fi    

