Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'returned.': 0.07; 'wednesday,': 0.07; 'here?': 0.09; 'lawrence': 0.09; 'library?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'things,': 0.09; 'tismer': 0.09; 'python': 0.11; 'def': 0.12; 'posted': 0.15; 'mess,': 0.16; 'posted.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'simulate': 0.16; 'slight': 0.16; 'subdirectory': 0.16; 'why,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'library': 0.18; 'looked': 0.18; 'bit': 0.19; 'drawing': 0.19; 'examples': 0.20; 'thanks.': 0.20; '>>>': 0.22; 'example': 0.22; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; 'source': 0.25; 'second': 0.26; 'certain': 0.27; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; 'have,': 0.30; "i'm": 0.30; 'code': 0.31; 'url:wiki': 0.31; '13,': 0.31; 'anyone': 0.31; 'figure': 0.32; 'url:python': 0.33; 'board': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'url:org': 0.36; 'example,': 0.37; 'clear': 0.37; 'starting': 0.37; 'christian': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; 'tell': 0.60; 'world.': 0.61; 'back': 0.62; 'information': 0.63; 'more': 0.64; 'different': 0.65; 'glance': 0.84; 'url:2007': 0.84; 'url:]': 0.84; 'received:89': 0.85; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Jabberbot Date: Wed, 13 Nov 2013 16:56:10 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-89-240-167-12.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 71 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1384361791 news.xs4all.nl 15874 [2001:888:2000:d::a6]:58055 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:59319 On 13/11/2013 16:42, Matt Graves wrote: > On Wednesday, November 13, 2013 11:32:24 AM UTC-5, Mark Lawrence wrote: >> On 13/11/2013 16:12, Matt Graves wrote: >> >>> I'm using the jabberbot library and there is not a whole lot of documentation on it. Does anyone have experience with this library? >> >>> >> >> >> >> [snip code from http://thp.io/2007/python-jabberbot/] >> >> >> >>> I cannot figure out how I would have it simulate a conversation. For example, if I added >> >>> >> >>> @botcmd >> >>> def Hello(self, mess, args): >> >>> return "Hi, how are you?" >> >>> >> >>> how would I get it to carry on from here? To look for different answers to the response that was returned. Any bit of information would be appreciated. >> >>> >> >> >> >> From the link above "More examples >> >> >> >> Starting with version 0.7, more examples can be found in the examples/ >> >> subdirectory of the source distribution." >> >> >> >> Have you looked at these? >> >> >> >> -- >> >> Python is the second best programming language in the world. >> >> But the best has yet to be invented. Christian Tismer >> >> >> >> Mark Lawrence > > I have, but unfortunately they are about just as clear as the example I posted. The examples they posted are relevant for certain things, but not what I'm looking to do. > Bah humbug, back to the drawing board :( Slight aside, would you please read and action this https://wiki.python.org/moin/GoogleGroupsPython, a quick glance above will tell you why, thanks. -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence