IceChat Forums

IceChat 5 Scripting => Uploaded Scripts => Topic started by: DM01 on August 31, 2005, 05:41:49 PM

Title: mass voice/devoice
Post by: DM01 on August 31, 2005, 05:41:49 PM
I need a script that +v's everyone who doesn't have voice.

You can do that now, but the problem is, it does this:

Code: [Select]
18:38:17 * DM01 sets mode +v XD for #channel
18:38:17 * DM01 sets mode +v SonicvanaJr for #channel

when I want it to do:

Code: [Select]
* DM01 sets mode +vv XD SonicvanaJr for #channel

I also want it to work in reverse, but if I could get the voice alias/script then I could make a devoice alias/script aswell.

Thanks in advance for any help, or suggestion.
Title: Re: mass voice/devoice
Post by: Snerf on September 01, 2005, 08:43:24 AM
I know that doing it from the nick list, it does +v them one at a time.
But I do believe that if you manually did /mode +vvvvv Nick1 Nick2 Nick3 Nick4 Nick5 , it should work.
But to do it with a script, its a little more tricky, as you need to loop through all the nicks
in the channel, and check if they are opped/voiced, and if not, voice them.
The one to use would be the $nick(#channel,N) identifier.
Its all in help under identifiers.
Title: Re: mass voice/devoice
Post by: BigRed on October 28, 2007, 03:07:13 PM
I know this thing is all but dead for a long time, however, this applies to the more recent version of icechat as well. So I figure why not? you can hold down crtl+left click on all the unvoiced (or even voiced nicks) then hit the voice button and it will either give or remove voice to everyone highlighted.