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

	<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>2005-02-28T22:44:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-02-28T22:44:14-04:00</updated>

		<published>2005-02-28T22:44:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47089#p47089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47089#p47089"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47089#p47089"><![CDATA[
Yeah he didn't define the flag so obviously it didn't existed thats why I listed the ones he could use. He didn't ask about creating it. I thought it was a setting in some module or something where he might have seen it.<br><div class="codebox"><p>Code: </p><pre><code>I have seen this post where it says "Just type in partyline: .chanset #channel +imdb"</code></pre></div>This one I thought he mean't in setting chanmode.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Feb 28, 2005 10:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-02-28T22:19:44-04:00</updated>

		<published>2005-02-28T22:19:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47086#p47086</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47086#p47086"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47086#p47086"><![CDATA[
awyeah, cerberus_gr specificly asked for help with a user defined mode, and you just listed the defaults ones for him. Then he pointed to another post dealing with user defined modes, which you claimed contained false information. So yea, you were wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Feb 28, 2005 10:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-02-28T21:04:04-04:00</updated>

		<published>2005-02-28T21:04:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47076#p47076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47076#p47076"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47076#p47076"><![CDATA[
What's wrong about that gb? I think you need some rest.<br><br>For modelocks:<br>.chanset &lt;channel&gt; chanmode [+/-&lt;modelock&gt;]<br><br>For settings:<br>.chanset &lt;channel&gt; [+/-&lt;setting&gt;]<br><br>It's quite simple.<br><br>Unless you have a tcl script for your +nousernotice, it  would be quite redundant to create a new flag and set it to a channel.<br><br>Say we have something like this. This script will only work on channels which have the setting +nousernotice set on them. If the channel has -nousernotice set, then that if { .... } condition below will not satisfy and the script will not run.<br><div class="codebox"><p>Code: </p><pre><code>setudef flag nousernoticebind notc - "*" no:user:noticeproc no:user:notice {nick uhost hand text {chan ""}} { global botnick  if {[channel get $chan nousernotice] &amp;&amp; ![isbotnick $chan] &amp;&amp; [string equal "#" [string index $chan 0]] &amp;&amp; [botisop $chan]} {   putserv "MODE $chan +b *!*@[lindex [split uhost @] 1]"   putserv "KICK $chan $nick: No channel noticing is allowed"   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Feb 28, 2005 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-02-28T11:49:07-04:00</updated>

		<published>2005-02-28T11:49:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47062#p47062</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47062#p47062"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47062#p47062"><![CDATA[
dont you ever getting tired of being wrong awyeah ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Feb 28, 2005 11:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-02-28T10:43:55-04:00</updated>

		<published>2005-02-28T10:43:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47058#p47058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47058#p47058"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47058#p47058"><![CDATA[
That I want to do is to avoid to set channels inside the tcl script. So I want to have an option like +/-nousernotice for each channel.<br><br>I tested this, whis worked great:<div class="codebox"><p>Code: </p><pre><code>[16:37:40] &lt;cerberus_gr&gt; .tcl setudef flag nousernotice[16:37:40] &lt;My_bot&gt; Tcl: [16:37:48] &lt;cerberus_gr&gt; .chanset #chan +nousernotice[16:37:49] &lt;My_bot&gt; Successfully set modes { +nousernotice  } on #chan.[16:39:43] &lt;cerberus_gr&gt; .tcl putlog "[channel info #chan]"[16:39:44] &lt;My_bot&gt; [16:38] +tn-kip 0 0 0 {} {} {} {{ putserv "PRIVMSG Chanserv :unban #chan" }} {} 0:0 0:0 0:0 0:0 0:0 0:0 3:8 120 60 60 -enforcebans -dynamicbans +userbans -autoop -autohalfop -bitch -greet -protectops -protecthalfops -protectfriends +dontkickops -inactive -statuslog -revenge -revengebot -secret -shared +autovoice -cycle -seen -dynamicexempts +userexempts -dynamicinvites +userinvites +nodesynch -noseendata +quietseens +quietaiseens -nopubseens +nousernotice[16:39:44] &lt;My_bot&gt; Tcl: [16:43:33] &lt;My_bot&gt; User defined channel flags:[16:43:33] &lt;My_bot&gt;      -noseendata +quietseens +quietaiseens -nopubseens[16:43:33] &lt;My_bot&gt;      +nousernotice</code></pre></div>So, the only that I have to do is to check in my tcl code if the channel has + or - this flag!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2661">cerberus_gr</a> — Mon Feb 28, 2005 10:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-02-28T05:24:08-04:00</updated>

		<published>2005-02-28T05:24:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47029#p47029</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47029#p47029"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47029#p47029"><![CDATA[
<blockquote class="uncited"><div>So, you mean that I can't set my own channel modes, as I thought?<br><br>I have seen <a href="http://forum.egghelp.org/viewtopic.php?t=8988&amp;highlight=imdb" class="postlink">this</a> post where it says "Just type in partyline: .chanset #channel +imdb"<br><br>I think that I found the solution too, right now -&gt; setudef flag imdb<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Where ever you have seen that post, it is false and not the correct way to set channel modes for channels, using .chanset.<br><br>I don't think you read my post very clearly, all information I provided in it earlier. Scroll back and see the very last few lines and stare it and... then figure what have you done wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Feb 28, 2005 5:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-02-28T04:21:51-04:00</updated>

		<published>2005-02-28T04:21:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47026#p47026</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47026#p47026"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47026#p47026"><![CDATA[
<blockquote class="uncited"><div>So, you mean that I can't set my own channel modes, as I thought?<br><br>I have seen <a href="http://forum.egghelp.org/viewtopic.php?t=8988&amp;highlight=imdb" class="postlink">this</a> post where it says "Just type in partyline: .chanset #channel +imdb"<br><br>I think that I found the solution too, right now -&gt; setudef flag imdb<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Yes imdb requires you to turn it on/off per channel but that is defined in the tcl script. you cant just make things up and expect it too work <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=3723">^DooM^</a> — Mon Feb 28, 2005 4:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-02-28T00:29:53-04:00</updated>

		<published>2005-02-28T00:29:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47023#p47023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47023#p47023"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47023#p47023"><![CDATA[
So, you mean that I can't set my own channel modes, as I thought?<br><br>I have seen <a href="http://forum.egghelp.org/viewtopic.php?t=8988&amp;highlight=imdb" class="postlink">this</a> post where it says "Just type in partyline: .chanset #channel +imdb"<br><br>I think that I found the solution too, right now -&gt; setudef flag imdb<br><br><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=2661">cerberus_gr</a> — Mon Feb 28, 2005 12:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-02-27T22:42:30-04:00</updated>

		<published>2005-02-27T22:42:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47021#p47021</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47021#p47021"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47021#p47021"><![CDATA[
There is no setting such as "nousernotice" as far as I know. Maybe you can have additional settings if you load modules.<br><br>The general ones are:<br><blockquote class="uncited"><div>        -autoop         -autovoice<br>        -bitch          +cycle<br>        +dontkickops    +dynamicbans<br>        +dynamicexempts +dynamicinvites<br>        -enforcebans    +greet<br>        -inactive       -nodesynch<br>        -protectfriends +protectops<br>        -revenge        -revengebot<br>        -secret         -seen<br>        +shared         +statuslog<br>        +userbans       +userexempts<br>        +userinvites    +protecthalfops<br>        +autohalfop</div></blockquote>For channel modes, use:<br><br>.chanset &lt;channel&gt; chanmode [+/-&lt;modelock&gt;]<br><br>And the ones you show, are loaded by the seen module, as we can clearly see here all have "seen" somewhere in them.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Feb 27, 2005 10:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cerberus_gr]]></name></author>
		<updated>2005-02-27T22:26:45-04:00</updated>

		<published>2005-02-27T22:26:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47020#p47020</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47020#p47020"/>
		<title type="html"><![CDATA[channel set modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47020#p47020"><![CDATA[
Hello,<br><br>As I remember eggdrop 1.6.15+ supports user defined modes in channel settings, like:<div class="codebox"><p>Code: </p><pre><code>&lt;My_bot&gt; User defined channel flags:&lt;My_bot&gt;      -noseendata +quietseens +quietaiseens -nopubseens</code></pre></div>So, why I get this error?<div class="codebox"><p>Code: </p><pre><code>&lt;cerberus_gr&gt; .chanset #channel +nousernotice&lt;My_bot&gt; Error trying to set +nousernotice for #channel, invalid mode.</code></pre></div>Where is my error?<br><br>Thx and sorry if this post already exists, but search returned nothing <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=2661">cerberus_gr</a> — Sun Feb 27, 2005 10:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
