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,

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

2012-04-16 Thread Surya K
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 sysimport socketimport string HOST=irc.freenode.netPORT=6667NICK=MyBotIDENT=MybotREALNAME=Pythonreadbuffer=

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 string

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 sur...@live.com 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..) snip s.send(NICK %s\r\n % NICK) s.send(USER %s

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 sur...@live.com 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