Well I want to send the output directly to my channel either have it use my txt box to do .. I found this script here
Code:
function my_irc { tmp=`mktemp`; cat > $tmp;
{ echo -e "USER $username x x :$ircname\nNICK $nick\nJOIN $target";
while read line; do echo -e "PRIVMSG $target :$line"; done < $tmp; }
| nc $server > /dev/null ; rm $tmp; }
but I obviously dont understand it well enough to change the variables cause when I played around with it I get this result..
Code:
c0ld-desktop:~$ echo "test" | my_ircnc
:getaddrinfo: Name or service not known