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

	<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>2008-10-12T16:10:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-10-12T16:10:04-04:00</updated>

		<published>2008-10-12T16:10:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85513#p85513</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85513#p85513"/>
		<title type="html"><![CDATA[check +m or +i]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85513#p85513"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>#tested with 'windrop v1.6.19' sorry!bind mode - "*" check:modebind time - "15 * * * *" checkmode:timeproc check:mode {nick host handle channel mode {target ""}} {global botnick if {($target != "")} {append mode " $target"}  if {([channel get $channel "checkmode"])} {   if {([regexp -all -- {(m|i)} "$mode"] &gt; 0)} {    if {([botisop $channel])} {     putquick "MODE $channel -im"     return    }   }  }}proc checkmode:time {minute hour day month year} { foreach chan [channels] {  if {([channel get $chan "checkmode"])} {   if {([regexp -all -- {(m|i)} "[lindex [split [getchanmode $chan] "+"] 1]"] &gt; 0)} {    if {([botisop $chan])} {     putquick "MODE $chan -im"    }   }  } }; return}setudef flag checkmodeputlog "loaded checkmode.tcl version 1.0 by TCL_no_TK"return</code></pre></div> The timer is set to check all channels set 'checkmode' for channel modes '+i' and '+m' as long as the bot is op'd on the channel where the modes are set it will unset them. It also checks modes being sets and if +i or +m are being set it will also remove them if it is op'd. To set a channel with the option 'checkmode' use (in DCC/CHAT): <blockquote class="uncited"><div>.chanset &lt;#channel-name&gt; +checkmode</div></blockquote> use '*' as &lt;#channel-name&gt; for it to work on all channels eggdrop is on, if you wish. And feel free to reply if you have any errors! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sun Oct 12, 2008 4:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kraka]]></name></author>
		<updated>2008-09-21T19:10:30-04:00</updated>

		<published>2008-09-21T19:10:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85246#p85246</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85246#p85246"/>
		<title type="html"><![CDATA[check +m or +i]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85246#p85246"><![CDATA[
i was looking for a script that i can set up to see if a list of chans that i set are +i or +m are set at intervals of about 5 mins that it will take away those chanmodes<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6124">Kraka</a> — Sun Sep 21, 2008 7:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
