Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

[POE::Component::IRC::Plugin::BotCommand] Trouble getting bot to respond

by three18ti (Monk)
on Dec 25, 2013 at 21:18 UTC ( [id://1068372]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    POE::Session->create(
        package_states  => [
            main => [ qw(_default _start irc_public irc_join irc_botcmd_sl
    +ap irc_botcmd_rot13) ],
        ],
    );
    
  2. or download this
    irc_botcmd_slap:  'foo!foo@workstation.local.tld' '#foo' 'foo' 'slap' 
    +'slap'
    
  3. or download this
    #!/usr/bin/perl
    use 5.010;
    ...
        $irc->yield(privmsg => $where, "ACTION slaps $arg where: $where $c
    +hannel");
        return;
    }
    
  4. or download this
    -YourBot/#foo- Commands: lookup, slap
    -YourBot/#foo- For more details, use: !help <command>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1068372]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found