NAME

Bot::MetaSyntactic - IRC frontend to Acme::MetaSyntactic

VERSION

Version 0.03

SYNOPSIS

use Bot::MetaSyntactic;

Bot::MetaSyntactic->new(
    nick => 'meta',
    name => 'Acme::MetaSyntactic IRC frontend',
    server => 'irc.perl.org',
    channels => ['#randomchan']
)->run

DESCRIPTION

This module provides the glue for providing an IRC interface to the module Acme::MetaSyntactic.

FUNCTIONS

init()

Initializes private data.

said()

Main function for interacting with the bot object. It follows the Bot::BasicBot API and expect an hashref as argument. See "COMMANDS" for more information on recognized commands.

help()

Prints usage.

COMMANDS

Syntax (assuming the name of the bot is meta):

meta [theme] [number]
meta themes

Called with no argument, print this number of random words from a random theme.

Called with a theme name, print this number of random words from this theme.

Called with themes, print all available themes.

DIAGNOSTICS

Can't create new %s object

(F) Occurs in init(). As the message says, we were unable to create a new object of the given class.

SEE ALSO

Acme::MetaSyntactic, Bot::BasicBot

AUTHOR

Sébastien Aperghis-Tramoni, <sebastien@aperghis.net>

BUGS

Please report any bugs or feature requests to bug-bot-metasyntactic@rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/Bugs.html?Dist=Bot-MetaSyntactic. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Copyright 2005 Sébastien Aperghis-Tramoni, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.