Python Forum
IRC alchemy bot using sockets - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: Code sharing (https://python-forum.io/forum-5.html)
+--- Thread: IRC alchemy bot using sockets (/thread-409.html)



IRC alchemy bot using sockets - metulburr - Oct-10-2016

I wrote this years ago. So there are few bad habits on this. 
Output:
<metulburr> :help <alchemybot> :help [cmd] for desc. cmds = ['c', 'help', 'restart', 'view'] <metulburr> :help c <alchemybot> metulburr: :c [element] [element] --combine [element] with [element] either order <metulburr> :view <alchemybot> Made Items: 4, Total Items: 427 <alchemybot> ['air', 'earth', 'fire', 'water'] <metulburr> "c air air <metulburr> :c air air <alchemybot> metulburr has made wind <metulburr> :view <alchemybot> Made Items: 5, Total Items: 427 <alchemybot> ['air', 'earth', 'fire', 'water', 'wind'] <metulburr> :c wind air <metulburr> :c air air <alchemybot> metulburr: You have already made wind <metulburr> :c air earth <alchemybot> metulburr has made dust <metulburr> :c air dust <metulburr> :c air water <alchemybot> metulburr has made steam <metulburr> :c air steam <alchemybot> metulburr has made cloud <metulburr> :c air cloud <alchemybot> metulburr has made sky <metulburr> :c air sky <metulburr> :view <alchemybot> Made Items: 9, Total Items: 427 <alchemybot> ['air', 'cloud', 'dust', 'earth', 'fire', 'sky', 'steam', 'water', 'wind']



RE: IRC alchemy bot using sockets - Skaperen - Oct-10-2016

nice long code.  now to figure out how to save it.


RE: IRC alchemy bot using sockets - Mekire - Oct-10-2016

(Oct-10-2016, 02:31 AM)Skaperen Wrote: nice long code.  now to figure out how to save it.

Double-clicking the code block does a select-all.