irctk

libircclient binding for scripts
git clone https://a3nm.net/git/irctk/
Log | Files | Refs | README

commit 87a32457bfdcdbdbccb4ff05b8bbca33136b7e8e
parent a0063d02ecc4eee02de491a2eaf96752bb774be9
Author: Antoine Amarilli <ant.amarilli@free.fr>
Date:   Sun, 30 Jan 2011 19:42:05 +0100

continued README

Diffstat:
README | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/README b/README @@ -79,10 +79,15 @@ their game, so run as a suitably unpriviledged user.) The "while true" loop is to restart the game whenever it exits. The socat invocation is used to disable buffering. - $ ./irctk -v listener@source.com '#chan1' '#chan2' \ - | ./irctk -v repeater@destination.com + $ ./irctk listener@source.com '#chan1' '#chan2' \ + | ./irctk repeater@destination.com Repeat on destination.com whatever is said on channels #chan1 and #chan2 of source.com. + $ cat fifo | ./irctk -fF0 gateway@server1.com '#chan1' \ + | ./irctk -fF0 gateway@server2.com '#chan2' | tee fifo + +Two-way gateway: gateway posts on #chan1 on server1.com whatever +is said to him on #chan2 on server2.com, and vice-versa.