Skip to content
MSN

Auto Ignore

A TG007 community discussion started by harlow.

Discussion 3 posts
Page 1 of 1
Open
Topic #1644 · 3 published posts · 554 views

Can someone give me a code that will put a scroller on auto Ignore please? Something that wont kick them though.

Thanks.

this will ignore the nick for 1 minute

 

 

on @*:TEXT:*:#: {
 if ($nick == $me) halt
 var %text = $hash($strip($1-),32)
 var %old.text = %rp. [ $+ [ $chan ] $+ . $+ [ $nick ] ]
 var %old.text = $deltok(%old.text,1,46)
 if (%rp. [ $+ [ $chan ] $+ . $+ [ $nick ] ] == $null) || (%old.text != %text) {
   set -u30 %rp. [ $+ [ $chan ] $+ . $+ [ $nick ] ] 1. $+ %text 
   return
 }
 var %temp = %rp. [ $+ [ $chan ] $+ . $+ [ $nick ] ]
 var %count = $gettok(%temp,1,46)
 inc %count
 set -u30 %rp. [ $+ [ $chan ] $+ . $+ [ $nick ] ] %count $+ . $+ %text
 if (%count >= 3) {
/ignore -u60 $nick
 }
}

 

My code does NOT have bugs. It just develops random features.

Thanks Ozzy!!