<?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/21169" />

	<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>2022-07-26T09:41:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-07-26T09:41:25-04:00</updated>

		<published>2022-07-26T09:41:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111207#p111207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111207#p111207"/>
		<title type="html"><![CDATA[Auto Devoice a specific user if anyone Voices them?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111207#p111207"><![CDATA[
Short correction: better to use the +q flag rather than the +G: it's a built-in flag which forbid the autovoice for the user, and the script will just act when voice is manually given:<div class="codebox"><p>Code: </p><pre><code>bind mode - "% +v" vcheckproc vcheck {nick uhost handle chan mode target} {   if {$mode ne "+v"} { return }   # useless check but adds a security   set vhandle [nick2hand $target $chan]   if {[matchattr $vhandle +q|+q $chan]} {      pushmode $chan -v $target      flushmode $chan   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jul 26, 2022 9:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mvp1]]></name></author>
		<updated>2022-07-26T07:24:38-04:00</updated>

		<published>2022-07-26T07:24:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111206#p111206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111206#p111206"/>
		<title type="html"><![CDATA[Auto Devoice a specific user if anyone Voices them?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111206#p111206"><![CDATA[
CrazyCat, thanks heaps mate! You're a legend <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Loved the idea of adding users with flag, which I think is much easier.<br>Works perfect for now. Will ask for help if there are any changes needed further <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Thanks again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12960">mvp1</a> — Tue Jul 26, 2022 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-07-26T04:23:51-04:00</updated>

		<published>2022-07-26T04:23:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111205#p111205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111205#p111205"/>
		<title type="html"><![CDATA[Auto Devoice a specific user if anyone Voices them?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111205#p111205"><![CDATA[
How do you determine userX ? a nick, a hostmask ?<br>Is there only one user or could it be a list of users ?<br><br>Imho, the simplest way is to add users in eggdrop with a particular flag like G which will be the opposite to g (note the cap/minus)<div class="codebox"><p>Code: </p><pre><code>bind mode - "% +v" vcheckproc vcheck {nick uhost handle chan mode target} {   if {$mode ne "+v"} { return }   # useless check but adds a security   set vhandle [nick2hand $target $chan]   if {[matchattr $vhandle +G|+G $chan]} {      pushmode $chan -v $target      flushmode $chan   }}</code></pre></div>Next step: add users to your eggdrop give them the +G flag, globally or per channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Tue Jul 26, 2022 4:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mvp1]]></name></author>
		<updated>2022-07-26T02:55:45-04:00</updated>

		<published>2022-07-26T02:55:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111204#p111204</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111204#p111204"/>
		<title type="html"><![CDATA[Auto Devoice a specific user if anyone Voices them?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111204#p111204"><![CDATA[
Hi guys,<br><br>I need a quick TCL code please, for eggdrop, which can make sure a specific user "USERX" is never voiced in a channel #CHANNELX by anyone.<br>So basically the code should check all the +v mode changes in #CHANNELX and if it detects USERX is voiced, it should apply mode -v (devoice) straight away to make sure the USERX does not stay with +v at all.<br><br>Any help is appreciated as always.<br><br>Cheers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12960">mvp1</a> — Tue Jul 26, 2022 2:55 am</p><hr />
]]></content>
	</entry>
	</feed>
