Skip to content
MSN

Mass Ignore

A TG007 community discussion started by harlow.

Discussion 9 posts
Page 1 of 1
Open
Topic #1151 · 9 published posts · 837 views

Out of curiosity...

 

How would I be able to have a Mass Ignore option? So I can put the entire room on ignore if I wanted to be able to... and also to take the whole room off ignore?

 

I want to know in order to develop my knowledge of scripting...

 

Therefore a code that doesnt require owner or host status would be perfect!

 

Thanks.

try looking up /ignore in the help file, or making a code that adds all users to a user list, or make a code that checks a variable, and if that variable = something, it just doesn't show the responce, they are the 3 things i would recommend.

/ignore -w *

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

Does anyone have an actual code?? lol

 

Come on Ozzy... I know you know!!

/ignore -w * <-- ignores all

 

/ignore -r <-- un-ignores all

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

Thanks dude... as you can see still Im still learning...

 

BTW, even though using the '/ignore -r code' make the message '* Ignore list cleared' appear, the whole room continues to stay on ignore!

 

Am I doing something wrong here ozzy?

You might as well use this:

{
 var %a = 1
 while (%a <= $nick($chan,0)) {
   if ($nick($chan,0) == $me) inc %a
   ignore -r $nick($chan,%a)
   inc %a
 }
 echo $chan $nick($chan,0) people removed from ignore list.
}

But using /ignore -r clears the list. Here's a simple test for it:

menu channel {
 Ignores
 .$iif($ignore,$style(1)) On:/ignore -w *
 .$iif(!$ignore,$style(1)) Off:/ignore -r
 Ignore list:{
   window -ak0 @Ignores | clear @Ignores
   var %a = 1
   while (%a) {
     if ($ignore(%a) == $null) break
     echo @Ignores $ignore(%a)
     inc %a
   }
 }
}

After using /ignore -r then running that test above, it worked fine for me.

 

Thanks Cleric!

 

Thanks Ozzy!

 

fixed.gif

No prob smile.gif Glad to hear a thanks once in a while