dot

packages and services management
Log | Files | Refs | README

commit 1aa5014d097aef9c6310e459ee1269afa6708d05
parent 4f843a161019a6782422a049c4cb68db7016578c
Author: Josuah Demangeonā  ā µ <mail@josuah.net>
Date:   Mon, 27 Feb 2017 18:13:16 +0100

added customizable irc nick

Diffstat:
Mbin/ii-server | 24++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/bin/ii-server b/bin/ii-server @@ -2,12 +2,16 @@ # connect to my irc server and channels printf 'Password: ' -IFS='' read -r IIPASS -export IIPASS +IFS='' read -r PASS -ii -n josuah -k IIPASS -s irc.freenode.net & +printf '\033[A\r\033[KNick: ' +IFS='' read -r NICK + +export PASS NICK + +ii -n NICK -k IIPASS -s irc.freenode.net & tee -a ~/irc/irc.freenode.net/in << EOF -/privmsg nickserv IDENTIFY IIPASS +/privmsg nickserv IDENTIFY PASS /j ##networking /j ##c /j #2f30 @@ -15,21 +19,21 @@ tee -a ~/irc/irc.freenode.net/in << EOF /j #breizh-entropy EOF -ii -n josuah -k IIPASS -s irc.oftc.net & +ii -n NICK -k PASS -s irc.oftc.net & tee -a ~/irc/irc.oftc.net/in << EOF -/privmsg nickserv IDENTIFY IIPASS +/privmsg nickserv IDENTIFY PASS /j #suckless /j #cryptoparty EOF -ii -n josuah -k IIPASS -s unix.chat -e 6697 & +ii -n NICK -k PASS -s unix.chat -e 6697 & tee -a ~/irc/unix.chat/in << EOF -/privmsg nickserv IDENTIFY IIPASS +/privmsg nickserv IDENTIFY PASS /j #unix EOF -ii -n josuah -k IIPASS -s irc.geeknode.net -e 6697 & +ii -n NICK -k PASS -s irc.geeknode.net -e 6697 & tee -a ~/irc/irc.geeknode.net/in << EOF -/privmsg nickserv IDENTIFY IIPASS +/privmsg nickserv IDENTIFY PASS /j #labriqueinter.net EOF