senőr_biggles has asked for the wisdom of the Perl Monks concerning the following question:

I've hit a wall with Bot::BasicBot, which is that I don't seem to be able to send private messages. I know that when I receive one the passed hashref will contain address=>'msg', but if I send a message with say(address=>'msg') it just puts the person's name in front of the message, but it is public. Thanks for any help.

Replies are listed 'Best First'.
Re: Private messages with Bot::BasicBot
by revdiablo (Prior) on Apr 04, 2007 at 02:34 UTC

    See the fine manual for details, but it looks like you'll want to set 'who' to the nickname, and set 'channel' to 'msg'. It further indicates that the 'address' argument is optional, and only applicable to public messages.