rendered paste body#!/usr/bin/python#-*- coding: ISO-8859-1 -*-#script escrito por JimmySkull__module_name__ = "Show Risso"__module_version__ = "0.1"__module_description__ = "Risada"import commandsimport timeimport sysimport xchatimport randomdef rir(word, word_eol, userdata): try: lists = [[] for i in range(6)] lists[0].append("H") lists[1].append("h") lists[2].append("U") lists[3].append("u") lists[4].append("A") lists[5].append("A") tudo = "" X=0 while X < 4: risada = "" R = random.randint(3,9) S = 0 while S <= R: risada = risada + lists[random.randint(0,5)] S = S + 1 tudo=tudo+risada X = X + 1 risada=tudo xchat.command("say %i%s" % (random.randint(1,2),risada)) except IndexError: print "Interface %s inválida" % iface return xchat.EAT_ALL return xchat.EAT_ALLxchat.hook_command("rir", rir, help="/rir")