SedBot

From SoylentNews
Revision as of 11:00, 31 July 2014 by Crutchy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Running sedbot:

TERMINAL 1:

sudo apt-get install ii gawk
mkdir ~/irc
wget https://raw.githubusercontent.com/FoobarBazbot/sedbot/master/sedbot.awk -O ~/irc/sedbot.awk
# comment out or delete line 11 of the awk file
sed -i 11d ~/irc/sedbot.awk
ii -s irc.sylnt.us -p 6667 -n SedBot2 -f SedBot2

TERMINAL 2:

echo "/j #soylent" > ~/irc/irc.sylnt.us/in
tail -Fn1 ~/irc/irc.sylnt.us/#soylent/out | ~/irc/sedbot.awk outfile=~/irc/irc.sylnt.us/#soylent/in