Re: Socket MUD client script

2009-10-30 Thread Terry Reedy
Zamnedix wrote: I'm having trouble with this script I'm writing. I want it to connect to a MUD, which it does fine, but afterwards it displays the greeting and login prompt, and when I type in username the loop to receive and then send seems to stop. Here's my code: #!/usr/bin/python import so

Re: Socket MUD client script

2009-10-30 Thread MRAB
Zamnedix wrote: I'm having trouble with this script I'm writing. I want it to connect to a MUD, which it does fine, but afterwards it displays the greeting and login prompt, and when I type in username the loop to receive and then send seems to stop. Here's my code: #!/usr/bin/python import so

Socket MUD client script

2009-10-30 Thread Zamnedix
I'm having trouble with this script I'm writing. I want it to connect to a MUD, which it does fine, but afterwards it displays the greeting and login prompt, and when I type in username the loop to receive and then send seems to stop. Here's my code: #!/usr/bin/python import socket import sys a