<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20156" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2016-05-30T01:07:02-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20156</id>

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-05-30T01:07:02-04:00</updated>

		<published>2016-05-30T01:07:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105053#p105053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105053#p105053"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105053#p105053"><![CDATA[
Honestly I don't understand what you are asking about.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 30, 2016 1:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-05-29T22:16:17-04:00</updated>

		<published>2016-05-29T22:16:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105049#p105049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105049#p105049"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105049#p105049"><![CDATA[
i had just one request , when it executes to also set these modes only ones and set timer to removes modes ones as well so in the case of ppl doin !mv all the time it wont set like 10 timers for the same fuction to add/remove the mode settings<br><div class="codebox"><p>Code: </p><pre><code> putquick "MODE $chan +wwwwwww v:G:PK v:G:IN v:G:AE v:G:BH v:G:SA"  -next timer 30  [list  putquick "MODE $chan -wwwwwww v:G:PK v:G:IN v:G:AE v:G:BH v:G:SA"  -next]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun May 29, 2016 10:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-05-25T06:41:37-04:00</updated>

		<published>2016-05-25T06:41:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105030#p105030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105030#p105030"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105030#p105030"><![CDATA[
thnx  ceasar and  get_a_fix and infact i have thommeys script loaded for isadmin and isowner thnx guys i think i got it working now <br><br>apreciated as always<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed May 25, 2016 6:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-05-24T04:26:18-04:00</updated>

		<published>2016-05-24T04:26:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105029#p105029</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105029#p105029"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105029#p105029"><![CDATA[
Ah, I think I misunderstood what you wanted.<br><br>Get_A_Fix is right, meaning you would need that script to extend the two commands and do the channel monitoring to maintain a list of owner and admin, cos the other two, the op (<em class="text-italics">isop</em>) and halfop (<em class="text-italics">ishalfop</em>), are already built-in the eggdrop.<br><br>What I suggested is based on the access to the bot, not of the server the bot is on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue May 24, 2016 4:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2016-05-25T19:57:17-04:00</updated>

		<published>2016-05-23T20:31:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105028#p105028</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105028#p105028"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105028#p105028"><![CDATA[
Simo, for 1.6.21 there is support for isop, ishalfop, and isvoice, but I think what you're talking about are isadmin and isowner. These are currently not supported and require a small script that was released by Thommey, which can be found <a href="http://thommey.tclhelp.net/?page=scripts" class="postlink">here</a> and is called <strong class="text-strong">Arbitrary chanmodes (+q, +a)</strong><br><br>Once you have this script loaded, you can add the isowner/isadmin calls to any script you're running, to match the ~ and &amp; user's.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Mon May 23, 2016 8:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-05-23T15:11:02-04:00</updated>

		<published>2016-05-23T15:11:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105027#p105027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105027#p105027"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105027#p105027"><![CDATA[
thx ceasar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon May 23, 2016 3:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-05-23T10:29:48-04:00</updated>

		<published>2016-05-23T10:29:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105026#p105026</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105026#p105026"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105026#p105026"><![CDATA[
Sure, will use <em class="text-italics">nick2hand</em> to get the handle (or user name) for each user and then check if that is valid with <em class="text-italics">validuser</em> and skip it.<br><br>So, before the:<div class="codebox"><p>Code: </p><pre><code>if {![isvoice $user $chan]} {</code></pre></div>line add:<div class="codebox"><p>Code: </p><pre><code>set hand [nick2hand $user $chan]if {[validuser $hand]} continue</code></pre></div>The foreach loop now becomes:<div class="codebox"><p>Code: </p><pre><code>foreach user [split $userList] {set hand [nick2hand $user $chan]if {[validuser $hand]} continueif {![isvoice $user $chan]} {lappend voiceList $user}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 23, 2016 10:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-05-22T13:28:37-04:00</updated>

		<published>2016-05-22T13:28:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105025#p105025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105025#p105025"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105025#p105025"><![CDATA[
could only regular user be voiced and leave everyone with acces like owner/admin/OP/HalfOP since they can voice themselves<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sun May 22, 2016 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-05-21T12:42:28-04:00</updated>

		<published>2016-05-21T12:42:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105024#p105024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105024#p105024"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105024#p105024"><![CDATA[
excellent works great thnx caesar<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat May 21, 2016 12:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-05-21T06:12:25-04:00</updated>

		<published>2016-05-21T06:12:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105023#p105023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105023#p105023"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105023#p105023"><![CDATA[
Give this a try and let me know if isn't working.<div class="codebox"><p>Code: </p><pre><code>bind pub m|m !mv voice_allproc voice_all {nick host handle chan text} {if {![botisop $chan]} {puthelp "NOTICE $nick :I'm not oped on $chan."return}# grab the channel members list and exclude the bot from itset userList [chanlist $chan]set pos [lsearch -nocase $userList $::botnick]set userList [lreplace $userList $pos $pos] # build the voice list with only people that aren't voicedforeach user [split $userList] {if {![isvoice $user $chan]} {lappend voiceList $user}    }# define the max amount of modes per lineset max 15# voice all the members in the above built voice listif {[info exists voiceList]} {set len [llength $voiceList]while {$len &gt; 0} {if {$len &gt; $max} {set mode [string repeat "v" $max]set users [join [lrange $voiceList 0 [expr {$max - 1}]]]set voiceList [lrange $voiceList $max end]incr len -$max} else {set mode [string repeat "v" $len]set users [join $voiceList]set len 0}puthelp "MODE $chan +$mode $users"}puthelp "NOTICE $nick :Voiced all users on $chan."} else {puthelp "NOTICE $nick :Nobody needed to be voiced on $chan."}}putlog "Loaded massvoice.tcl"</code></pre></div>Would appreciate if you would open a new topic and link to an older one rather than reviving the old one.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat May 21, 2016 6:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-05-20T13:12:03-04:00</updated>

		<published>2016-05-20T13:12:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105021#p105021</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105021#p105021"/>
		<title type="html"><![CDATA[Mass voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105021#p105021"><![CDATA[
could this tcl be modified to mass voice/unvoice all regular  nonvoiced/voiced users in the channel with 15 users per line with a pub cmd<br><br><br>i found this tcl <br><br><br><br> and was wondering if voice modes can be compressed to the max  allowed in ircd with is in this case 15 unlike the default 4 with pushmode <br>i wanne use this on a network with up to 400+ users per channel<br><br><br>(+simo)  : !mv<br> &amp;Eggy  Sets Mode on  #Cappuccino  to:  +vvvv Alhoceima safouane Nador StarNet <br> &amp;Eggy  Sets Mode on  #Cappuccino  to:  +vvvv simoo mourad Target Ouafa <br> -Eggy- :  Voiced all users on #Cappuccino.  (RifSytes) <br> &amp;Eggy  Sets Mode on  #Cappuccino  to:  +vvv SonnyBonds imad Puto <br><br>what i look for is :<br> &amp;Eggy  Sets Mode on  #Cappuccino  to:  +vvvvvvvvvvv SonnyBonds imad Puto simoo mourad Target  Alhoceima safouane Nador StarNet Ouafa<br><br><br><div class="codebox"><p>Code: </p><pre><code>bind pub m|m !mv voice_allproc voice_all {nick host handle chan args} { if {![botisop $chan]} {puthelp "NOTICE $nick :I'm not oped on $chan."   return 1  } foreach user [chanlist $chan] {   if {![isvoice $user $chan]} {   pushmode $chan +v $user     } } puthelp "NOTICE $nick :Voiced all users on $chan."}putlog "Loaded massvoice.tcl" </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Fri May 20, 2016 1:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
