Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

Anti-spam protection

Recommended Posts

  • Administrators
>on *:TEXT:*:#Channel: {

if ($ulevel 
if (%flood2. [ $+ [ $wildsite ] ] == $null) {

set -u5 %flood2. [ $+ [ $wildsite ] ] 1

}

elseif (%flood2. [ $+ [ $wildsite ] ] >= 10) {

kick $chan $nick Anti-flood protection has been activated.

unset %flood2. [ $+ [ $wildsite ] ]

}

else { inc -u5 %flood2. [ $+ [ $wildsite ] ] }

}

}

Link to comment
Share on other sites



×
×
  • Create New...