irctk

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

commit bba9281c0658b626970d727713d282fec330c911
parent cc92798b2886d12ad006ecfe65b9e30612f41fd5
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat, 25 Jan 2014 01:14:08 +0100

no him for irctk

Diffstat:
README | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/README b/README @@ -237,9 +237,9 @@ Optional channel names "[CHAN]" in the above list default to the current inferred destination (i.e., the last active channel by default). As an additional convenience, irctk can be made to address the last person who -addressed him with the -r option. In conjunction with the default destination +addressed it, with the -r option. In conjunction with the default destination channel inference, this means that, using -fr, whenever you ask irctk to say -"message", it will say it to the last person who addressed him, on the channel +"message", it will say that to the last person who addressed it, on the channel where it was addressed. This is very convenient to write bots. === 3.6. Complete examples === @@ -269,7 +269,7 @@ cat fifo | irctk -Fr dmbot@example.com '#chat' | fi done >fifo -This bot queries on wikipedia whatever is said to him, using the DNS-based +This bot queries on wikipedia whatever is said to it, using the DNS-based wikipedia query system as an ugly way to get the beginning of pages. $ cat fifo | irctk -Fr wikibot@example.com '#chat' | @@ -288,8 +288,8 @@ disable buffering. To play, say "DM: command". socat EXEC:adventure,pty,ctty,echo=0 STDIO; done >fifo -Two-way gateway: gateway posts on #chan1 on server1.com whatever -is said to him on #chan2 on server2.com, and vice-versa: +Two-way gateway: gateway posts on #chan1 on server1.com whatever is said to it +on #chan2 on server2.com, and vice-versa: $ cat fifo | irctk -F0 gateway@server1.com '#chan1' | irctk -F0 gateway@server2.com '#chan2' | tee fifo