if mess.group(1) in blocked: block_time = users[mess.group(1)] currently_time = int(phpsysfuncs.time.strftime("%S")) * 0.10 if (currently_time - block_time) > 50: # i guess its 50 seconds, i hope.. users[mess.group(1)].del # now how i delete the blocked list with that name, its not dictionary eh..??