Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:NOTICE:*:*: {
- if (%noticeprotection) {
- if (%notice. [ $+ [ $wildsite ] ] == $null) {
- set -u8 %notice. [ $+ [ $wildsite ] ] 1
- RETURN
- }
- else { inc %notice. [ $+ [ $wildsite ] ] }
- if (%notice. [ $+ [ $wildsite ] ] > 5 && %notice.check == $null) {
- set -u6 %notice.check 1
- .ignore -nu45 $wildsite
- echo -a 7>4Attention7< Notice flood from $wildsite - Counter Measures Taken : Ignoring notices for 45secs...
- }
- }
- }
- menu menubar,channel {
- $iif(%noticeprotection != $false,[On],[Off]) Notice protection:{
- set %noticeprotection $iif(%noticeprotection == $false,$true,$false)
- echo -a 7>4Attention7< 14Notice Protection is now 7 $iif(%noticeprotection == $true,ACTIVE,INACTIVE)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement