ca64b43dc12571b6cc9950fd44a391f4692aba38 — Philip Kaludercic 3 months ago 0640248 master
Explain how to call an irc.awk bot
1 files changed, 7 insertions(+), 0 deletions(-)

@@ 111,3 111,10 @@ All non-public parts of irc.awk are prefixed with "__irc_". While
accessible, they shouldn't be used/manipulated, as  irc.awk neither
guarantees consistency between future and past versions, nor does it
expect these to be changed.

** Calling a irc.awk-based script
irc.awk handles an event on every new line. If one wants a bot to
continue for as long as possible, all that has to be done is to pipe
the output of "yes" into the standard input of the script:

    $ yes | awk -f irc.awk -f bot.awk