on *:text:!dm:%dm.enabled: { if (!%fuckyou [ $+ [ $nick ] ]) { set -u10 %fuckyou [ $+ [ $nick ] ] 1 { halt } } if (%fuckyou [ $+ [ $nick ] ]) { inc %fuckyou [ $+ [ $nick ] ] if (%fuckyou [ $+ [ $nick ] ] == 3) { .notice $nick You have Spammed the !Dm command 3 times in 10 seconds, say it again once more in this 10 seconds and i'll temp mute you. { halt } } if (%fuckyou [ $+ [ $nick ] ] == 4) { unset %fuckyou [ $+ [ $nick ] ] .notice $nick Now Temp Muting you for 15 seconds.(using of !Dm command 4 times in 10 seconds) ban -u15 $chan ~q: $+ $address($nick,2) { halt } } } }