Chatbot::TalkerBot

Chatbot::TalkerBot is a robot client for a talker, with command handling.
Download

Chatbot::TalkerBot Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • P. Kent
  • Publisher web site:
  • http://search.cpan.org/~pkent/

Chatbot::TalkerBot Tags


Chatbot::TalkerBot Description

Chatbot::TalkerBot is a robot client for a talker, with command handling. Chatbot::TalkerBot is a robot client for a talker, with command handling.SYNOPSIS use Chatbot::TalkerBot; my $talker = new Chatbot::TalkerBot( $alreadyConnectedSocket, { Username => 'bot', Password => 'bot', UsernamePrompt => 'Enter username', PasswordPrompt => 'Enter password', UsernameResponse => '', PasswordResponse => '', LoginSuccess => 'End of MOTD', LoginFail => 'Incorrect password' } ); $talker->setTalkerCommands( { Say => '', Shout => '! '} ); $talker->say( "Hello world" ); $talker->listenLoop( qr/TELL (w+)s*>(.*)/, &callback, 10 ); $talker->whisper( 'david', 'bye bye' ); $talker->quit;Creates a TalkerBot object which can be used to say (or shout, or emote, etc.) things to a talker, it can listen to the talker, or it can sit in an event loop waiting to hear lines of a certain format which it will then act upon. Additionally it makes all talker traffic that it hears available for whatever purpose you want. It also incorporates detailed tracing and action logging should you require it.Requirements:· Perl Requirements: · Perl


Chatbot::TalkerBot Related Software