SedBot

From SoylentNews
Revision as of 10:22, 31 July 2014 by Crutchy (talk | contribs) (Created page with "Running sedbot: TERMINAL 1: <pre> sudo apt-get install ii gawk mkdir ~/irc wget https://raw.githubusercontent.com/FoobarBazbot/sedbot/master/sedbot.awk -O ~/irc/sedbot.awk #...")
(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
# on line 11 of the awk file, replace "/sedbotirc/irc.sylnt.us/#soylent/in" with "~/irc/irc.sylnt.us/#soylent/in"
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