I am not sure where to start on this script. The problem I am facing is that the channel I moderate is associated with a Ustream broadcast and occasionally the broadcaster will switch on his tts. Invariably, despite countless admonishments not to, chatters will try to play with the tts; something that gets old very quickly. Unfortunately, the broadcaster wants the mods to be excessively gentle when it comes to doling out punishments so we can't just kick everyone who acts up.(although he will allow short time outs)

Essentially what I would like to do is write a script that can detect when someone makes a post that consists of only one or two types of characters such as sssssssssssssssssssssssss or !!!!!!!!!!!!!!11!!!!1!!! or lolol...ololol etc and take action to reprimand a poster for making that kind of post. I could probably figure out how to make something that would detect posts that are primarily made up of symbols... but I don't even know where to begin on something that measures how varied the characters in a post are. So... any suggestions?

Thanks in advance,
Moose


edit: I found another kind of behavior I'd like to have my bot detect. I've seen scripts that detect two repeated posts in a row, but is there anything that can stop something like this: <Rogbull> Thunt, come back! Thunt, come back! Thunt, come back! Thunt, come back! Thunt, come back! ?

Again, I'd appreciate any advice you can give me.



Last edited by Moose; 05/01/13 06:45 AM.