bridgeduan / openttd-python

Automatically exported from code.google.com/p/openttd-python
1 stars 2 forks source link

Allow the Bot to connect to IRC only, then !connect later #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The bot is already allowed to connect only to game without connecting to
IRC. I would propose connecting to IRC only then using an op-only command
to !connect later.

What I was thinking of was:
python ottd-client.py ip.add.re.ss:port --irc-only

Then, !connect would make it join the ip address given at startup.

Original issue reported on code.google.com by LG5545@gmail.com on 20 Mar 2010 at 11:51

GoogleCodeExporter commented 9 years ago
This is what I've done so far. All I need is to disallow it from joining the 
game
when the --irc-only parameter is there.

Original comment by LG5545@gmail.com on 21 Mar 2010 at 2:38

Attachments:

GoogleCodeExporter commented 9 years ago
why do you want this?
The patch attached, btw, is really ugly and generates a connection timeout :)

Original comment by yorickvanpelt on 3 May 2010 at 7:52

GoogleCodeExporter commented 9 years ago
Sometimes I do not have the server up yet, it would be great to be able to let 
it
idle before I set up the server.

Original comment by LG5545@gmail.com on 3 May 2010 at 9:41