import brathuhn tantrum_img = """ ### `. | | .' \ .' '. ,' /_____\\ |::' | '' - - |:: | - - -- |:____| |' | ' :_._._: ._ ' ` _ ,' TANTRUM `.""" def tantrum(mfrom,msg): body = unicode(msg.getBody()) if "tantrum" in body.lower() and not brathuhn.room_nick in unicode(mfrom): for line in tantrum_img.split('\n'): brathuhn.sendMonoMsg(brathuhn.ROOM,line,'groupchat') brathuhn.addGroupListener(tantrum)