All pastes #561198 Raw Edit

Miscellany

public python v1 · immutable
·published 2007-06-12 11:25 UTC
rendered paste body
                  if(users.has_key(mess.group(1)) == False):          time_ = int(phpsysfuncs.time.strftime("%S")) * 0.10;          users[mess.group(1)] = time_           posts[mess.group(1)] = 0         elif(mess.group(1) in users and mess.group(1) not in blocked) :          time_ = users[mess.group(1)]          users[mess.group(1)] = int(phpsysfuncs.time.strftime("%S")) * 0.10          last_post = int(phpsysfuncs.time.strftime("%S")) * 0.10 - time_          posts[mess.group(1)] = posts[mess.group(1)] + 1          if(posts[mess.group(1)] > 5 and mess.group(1) not in blocked):           blocked.append(mess.group(1))           s.send("PRIVMSG %s :käivittu %s! aitähh.\r\n" % (mess.group(3), mess.group(1)))           break