Re: [Tutor] How to interact with users on IRC using Python

2012-04-18 Thread Lee Harr
> How do I create a small IRC program which can send and receive private > messages from users? I created a multiplayer game that can create a standalone server like a MUD, or communicate over IRC, or both (I think) acting as a gateway between the two. It uses Twisted, which some find arcane, b

Re: [Tutor] How to interact with users on IRC using Python

2012-04-16 Thread Puneeth Chaganti
On Mon, Apr 16, 2012 at 8:41 PM, Surya K wrote: [snip] > So, what IRC commands should I use and how do I typically implement them? I found this useful -- http://www.irchelp.org/irchelp/rfc/rfc.html ___ Tutor maillist - Tutor@python.org To unsubscribe

Re: [Tutor] How to interact with users on IRC using Python

2012-04-16 Thread Walter Prins
Hi, On 16 April 2012 17:11, Surya K wrote: > Actually, I am writing a small IRC bot for a game (A Multiplayer one). > > This how my code looks. (I this code, I am just trying to read from IRC > client and send a message to it..) > > > s.send("NICK %s\r\n" % NICK) > > s.send("USER %s %s bla :%

Re: [Tutor] How to interact with users on IRC using Python

2012-04-16 Thread Samuel Toogood
On 16/04/12 16:11, Surya K wrote: > Actually, I am writing a small IRC bot for a game (A Multiplayer one). > > > This how my code looks. (I this code, I am just trying to read from IRC > client and send a message to it..) > > import sys > > import socket > > import str