Common Lisp Package: TRIVIAL-IRC-ECHOBOT

A trivial echobot. The echobot will echo all messages sent to it, or to any channel it's in. This is meant as a simple example of how to use the `trivial-irc' library. To give it a sping, customize the variables in echobot.lisp, and do something like this: -- ;; (asdf:oos 'asdf:load-op :trivial-irc-echobot) ;; (trivial-echobot:start) -- Note that you probably don't want to make it join a channel someone actually uses, as it's quite annoying.

README:

FUNCTION

Public

RECEIVE-LOOP

Receive messages until interrupted.

START

Set up echobot, bind it to `*echobot*' and enter the `receive-loop'.

STOP

Stop and `disconnect' the echobot.

VARIABLE

Public

*CHANNELS*

A list of channels to after registering with server.

*ECHOBOT*

The current `echobot'.

*NICKNAME*

Nickname of the `echobot'.

*PORT*

The port to connect to.

*SERVER*

The server to connect to.

Private

Undocumented

*LOG-PATHNAME*

CLASS

Public

ECHOBOT

A simple irc-bot that echoes anything it sees. Valid initargs are the same as for `trivial-irc:client'.