Just wget the file below, set the variables nick
,channel
and server
and run it (config
doesn't need to be changed). Output is send to stdout. You probably want to send it to a file. To do so, I recommend one of these structures:
If you don't want to see the output in a terminal:
irclogscript.sh >> logs.txt
If you do want to see the output in a terminal: