#nuke
Nuke
Act on everyone who said something in the last few minutes, as Fossabot and StreamElements do. Give the phrase or a /regex/, how far back to look (up to 30 minutes), and a timeout length, delete or ban. StreamElements' order, lookback seconds then action then phrase, works too. -r=5m keeps nuking new messages for that long. Moderators and the broadcaster are never nuked. #unnuke lets back who the last nuke timed out or banned, and #nukeusername matches names instead of messages.
Usage
#nuke <phrase|/regex/> [-r=<length>] <scrollback> <timeout|delete|ban> <angle brackets> are required [square brackets] are optional
Arguments
inputOptional Text, the rest of the messageThe phrase or /regex/, the scrollback, and the action
Examples 6
Time out everyone who said a phrase in the last 3 minutes for 10 minutes
RizzingMicrowave:#nuke my bad phrase 3m 10m
Delete the messages of the last 5 minutes
InvigoratingPizza270:#nuke example phrase 5m delete