Added an example string.

This commit is contained in:
Jeremy Fincher 2003-09-25 07:27:02 +00:00
parent d9ebb5e6d0
commit d3a21e29c0

View File

@ -78,7 +78,23 @@ def configure(onStart, afterConnect, advanced):
example = utils.wrapLines("""
Add an example IRC session using this module here.
<jemfinch> @addlookup areacode areacodes.supyfact
<supybot> jemfinch: The operation succeeded.
<jemfinch> @areacode 513
<supybot> jemfinch: SW Ohio: Cincinnati (see split 937; overlay 283 cancelled)
<jemfinch> @areacode 937
<supybot> jemfinch: SW Ohio: Dayton (part of what used to be 513)
<jemfinch> @removelookup areacode
<supybot> jemfinch: The operation succeeded.
<jemfinch> @areacode 513
<jemfinch> (note there is no response; the command doesn't exist anymore)
<jemfinch> @addlookup areacode areacodes.supyfact
<supybot> jemfinch: The operation succeeded.
<jemfinch> @addlookup deepthought deepthoughts.supyfact
<supybot> jemfinch: The operation succeeded.
<jemfinch> (deepthought maps numbers to deep thoughts by Jack Handy; if a lookup isn't given an argument, it'll return a random key: value pair. That's useful for something like this.)
<jemfinch> @deepthought
<supybot> jemfinch: 272: I guess the hard thing for a lot of people to accept is why God would allow me to go running through their yards, yelling and spinning around.
""")
def getDb():