Skip to content

Instantly share code, notes, and snippets.

@sarahhodne
Created September 30, 2008 20:43
Show Gist options
  • Save sarahhodne/13948 to your computer and use it in GitHub Desktop.
Save sarahhodne/13948 to your computer and use it in GitHub Desktop.
def ai(self, a):
if len(a) > 3 and a[3:]:
msg = a[3:].join(' ')
if msg[:len(self.name)-1] == self.name:
self.msg(a[0], "Hmm?")
def load(bot):
bot.addEvent('ai')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment