Spam Bot, broken pipe

Someone Something fordhaivat at gmail.com
Sun Nov 8 03:37:34 CET 2009


anyone?

On Sat, Nov 7, 2009 at 9:06 PM, Someone Something <fordhaivat at gmail.com>wrote:

>
>
> I'm just testing it on my channel! I promise! Besides, I'm doing it to
> learn about sockets! Please!
>
>
> On Sat, Nov 7, 2009 at 8:07 PM, Krister Svanlund <
> krister.svanlund at gmail.com> wrote:
>
>> On Sun, Nov 8, 2009 at 2:00 AM, Someone Something <fordhaivat at gmail.com>
>> wrote:
>> > I have a irc spam bot (only testing on my channel :P ) whose main loop
>> is
>> > the following:
>> >
>> > privc="PRIVMSG "+self.channel
>> > while True:
>> >      self.sock.send(privc=" :SPAM SPAM SPAM!");
>> >      time.sleep(2);
>> >
>> > And it gives an error "Broken Pipe".
>> > How can I fix this?
>>
>> By doing it right... unfortunaly I don't approve of spam and can
>> therefor not tell you how to do that.
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091107/6543c736/attachment.html>


More information about the Python-list mailing list