I have Pytbot installed on FreeBSD 6.2 -- I have edited the .ini file and installed Python properly. But I can not get Twisted installed, and their docs are total crap. Can you help me? Is there a way to use it without Twisted?
:/
Please help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately I don't currently have access to a FreeBSD machine.
On the other hand, I know for a fact that at least one person is running pytbot on a freebsd machine.
I recommend connecting to #twisted on irc.freenode.net and let them know you're having trouble installing twisted. The people that know the most about twisted are in that channel.
While it is certainly possible to run pytbot without twisted, doing so requires rolling your own irc bot (or finding one and adapting it for pytbot).
You will need to provide 3 functions for the Tourney class, one for private messages, one for public messages, and one for notices. The notice and private message functions can be the same.
You will also have to feed commands to the bot in the form "IRC:nick:command:argument" (see Tourney.incmd() in tourney.py for details).
If you *do* go this route, please let me know if you have any questions and I'll try to lend a hand.
Good luck!
-Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have similar problem due to Twisted not being present on my shell and attempts to install it have failed so far. I do however have a working eggdrop bot on that shell which is extensible via tcl scripts. I am however not "fluent" in python or tcl, however when installing Python on my home box (windows) i noticed tcl/tk is included in the package.
Therefore my question to you is about how tcl and python can most easily work together to take advantage of eggdrop.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately, I'm almost completely ignorant of eggdrop development.
Also, as far as I know, it's Tk that's integrated into Python, not Tcl. So, out-of-the-box, I don't know of any way to develop for eggdrop in python.
That said, integrating pytbot with any IRC bot should not be *very* difficult. You must instantiate a Tourney instance and provide two communication functions, one for public messages and one for private messages. Then call Tourney's incmd() method with a command object filled in from whatever you receive in the channel and that should do it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay,
I have Pytbot installed on FreeBSD 6.2 -- I have edited the .ini file and installed Python properly. But I can not get Twisted installed, and their docs are total crap. Can you help me? Is there a way to use it without Twisted?
:/
Please help.
Unfortunately I don't currently have access to a FreeBSD machine.
On the other hand, I know for a fact that at least one person is running pytbot on a freebsd machine.
I recommend connecting to #twisted on irc.freenode.net and let them know you're having trouble installing twisted. The people that know the most about twisted are in that channel.
While it is certainly possible to run pytbot without twisted, doing so requires rolling your own irc bot (or finding one and adapting it for pytbot).
You will need to provide 3 functions for the Tourney class, one for private messages, one for public messages, and one for notices. The notice and private message functions can be the same.
You will also have to feed commands to the bot in the form "IRC:nick:command:argument" (see Tourney.incmd() in tourney.py for details).
If you *do* go this route, please let me know if you have any questions and I'll try to lend a hand.
Good luck!
-Paul
I have similar problem due to Twisted not being present on my shell and attempts to install it have failed so far. I do however have a working eggdrop bot on that shell which is extensible via tcl scripts. I am however not "fluent" in python or tcl, however when installing Python on my home box (windows) i noticed tcl/tk is included in the package.
Therefore my question to you is about how tcl and python can most easily work together to take advantage of eggdrop.
Unfortunately, I'm almost completely ignorant of eggdrop development.
Also, as far as I know, it's Tk that's integrated into Python, not Tcl. So, out-of-the-box, I don't know of any way to develop for eggdrop in python.
That said, integrating pytbot with any IRC bot should not be *very* difficult. You must instantiate a Tourney instance and provide two communication functions, one for public messages and one for private messages. Then call Tourney's incmd() method with a command object filled in from whatever you receive in the channel and that should do it.