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

	<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-01-17T12:08:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2008-01-17T12:08:17-04:00</updated>

		<published>2008-01-17T12:08:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80156#p80156</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80156#p80156"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80156#p80156"><![CDATA[
<blockquote class="uncited"><div>Also worth noting, users with master and higher access, aswell as the bot itself may override the chanmode settings with their own settings</div></blockquote>That's it! That must be the answer why mlock did not work. Probably coz I (Admin) am the only one who tested it...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Thu Jan 17, 2008 12:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-17T11:42:06-04:00</updated>

		<published>2008-01-17T11:42:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80155#p80155</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80155#p80155"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80155#p80155"><![CDATA[
<blockquote class="uncited"><div>Adding this code in config.conf:<div class="codebox"><p>Code: </p><pre><code>channel add #channel1 {    chanmode "+nt-ipsmlk"}channel add #channel2 {    chanmode "+nt-ipsmlk"}channel add #channel3 {    chanmode "+nt-ipsmlk"}</code></pre></div>+<div class="codebox"><p>Code: </p><pre><code>.rehash</code></pre></div>Result exit with an error.</div></blockquote>You don't think you could post the actual error message?<br>The only case in which I can see that code causing any kind of error would be if the channels-module isn't loaded - but if that's the case, your bot really would'nt be joining the channel in the first case, and .+chan and similar commands would not be available either.<br><br>Edit: Also worth noting, users with master and higher access, aswell as the bot itself may override the chanmode settings with their own settings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Jan 17, 2008 11:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-01-17T08:35:34-04:00</updated>

		<published>2008-01-17T08:35:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80150#p80150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80150#p80150"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80150#p80150"><![CDATA[
CyberianIce: You are expected to actually <strong class="text-strong">change</strong> "#channel1" &amp;c to the actual channel name of the channels the bot is <span style="text-decoration:underline">currently</span> sitting in. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>Also, a bot must have channel access.<br><br>You were also told that altering the configuration file will <em class="text-italics">NOT</em> affect channels the bot is already residing in.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Jan 17, 2008 8:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-01-16T23:29:31-04:00</updated>

		<published>2008-01-16T23:29:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80141#p80141</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80141#p80141"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80141#p80141"><![CDATA[
<blockquote class="uncited"><div>Ok, I see You not understand me, I tryed this commands:<br><div class="codebox"><p>Code: </p><pre><code>.chanset #channel1 chanmode +nt-ipsmlk.chanset #channel2 chanmode +nt-ipsmlk.chanset #channel3 chanmode +nt-ipsmlk</code></pre></div></div></blockquote>This _does_ work. You might have chanset unbound in your eggdrop.conf, or you might not have priveleges to set these 'aka your not known as the bot owner'. If your using a network with services, why not just have Chanserv keep these modes enforced?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Wed Jan 16, 2008 11:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2008-01-16T10:41:53-04:00</updated>

		<published>2008-01-16T10:41:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80134#p80134</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80134#p80134"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80134#p80134"><![CDATA[
Ok, I see You not understand me, I tryed this commands:<br><div class="codebox"><p>Code: </p><pre><code>.+chan #channel1.+chan #channel2.+chan #channel3.chanset #channel1 chanmode +nt-ipsmlk.chanset #channel2 chanmode +nt-ipsmlk.chanset #channel3 chanmode +nt-ipsmlk.chansave</code></pre></div>Did not work.<br><br>Adding this code in config.conf:<div class="codebox"><p>Code: </p><pre><code>channel add #channel1 {    chanmode "+nt-ipsmlk"}channel add #channel2 {    chanmode "+nt-ipsmlk"}channel add #channel3 {    chanmode "+nt-ipsmlk"}</code></pre></div>+<div class="codebox"><p>Code: </p><pre><code>.rehash</code></pre></div>Result exit with an error.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Wed Jan 16, 2008 10:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2008-01-16T01:56:33-04:00</updated>

		<published>2008-01-16T01:56:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80125#p80125</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80125#p80125"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80125#p80125"><![CDATA[
Before using .chanset to enforce the modes in a certain channel, are you sure that the bot is already in that channel ? the command .+chan make the bot join the channel, and .-chan part that channel, and has nothing to do with modes, so first : do<div class="codebox"><p>Code: </p><pre><code>.+chan #channel1.+chan #channel2.+chan #channel3</code></pre></div>After do the .chanset commands i recommended above. Yu don't need to use .chansave, you dont even need to rehash...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Wed Jan 16, 2008 1:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-01-15T22:16:32-04:00</updated>

		<published>2008-01-15T22:16:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80122#p80122</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80122#p80122"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80122#p80122"><![CDATA[
<blockquote class="uncited"><div>I tryed .-chan and .+chan -&gt; .chansave and even ediding .conf -&gt; .rehash but no luck...<br>Any Tcl ideas or not?</div></blockquote>No because there is no point (if DarkRaptor's post was followed).<br><div class="codebox"><p>Code: </p><pre><code>.chanset #channel chanmode +ptnM-k</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jan 15, 2008 10:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2008-01-15T21:42:09-04:00</updated>

		<published>2008-01-15T21:42:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80121#p80121</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80121#p80121"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80121#p80121"><![CDATA[
I tryed .-chan and .+chan -&gt; .chansave and even ediding .conf -&gt; .rehash but no luck...<br>Any Tcl ideas or not?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Tue Jan 15, 2008 9:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-01-15T18:56:14-04:00</updated>

		<published>2008-01-15T18:56:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80106#p80106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80106#p80106"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80106#p80106"><![CDATA[
<blockquote class="uncited"><div>but I already tryed that, and it did not work.</div></blockquote>Do as Zircon posted as altering a config will not work on an already created channel file.<br><br><a href="http://www.egghelp.org/commands/channels.htm#chanset" class="postlink">chanset</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jan 15, 2008 6:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2008-01-15T17:58:10-04:00</updated>

		<published>2008-01-15T17:58:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80099#p80099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80099#p80099"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80099#p80099"><![CDATA[
you asked for a tcl script, but as we already told you, a tcl is not needed to enforce modes in a channel.  If you say you already tried that, and it didn't work, then you must have a conflict in your conf file, or another tcl script in interfering. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Tue Jan 15, 2008 5:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zircon]]></name></author>
		<updated>2008-01-15T13:43:40-04:00</updated>

		<published>2008-01-15T13:43:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80089#p80089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80089#p80089"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80089#p80089"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>.chanset #channel1 chanmode +nt-iklmps.chanset #channel2 chanmode +nt-klps.chanset #channel3 chanmode +nt-iklps</code></pre></div>I think this is the easiest and fastest way to do it....the command .chanset require to load the module channels, which anyway you need to load, coz  without it, you won't be able to make the bot join a channel or save channel specific userfile information.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8115">Zircon</a> — Tue Jan 15, 2008 1:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2008-01-15T10:48:29-04:00</updated>

		<published>2008-01-15T10:48:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80081#p80081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80081#p80081"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80081#p80081"><![CDATA[
I asked for Tcl script, not module based solution, coz I know that module based is better solution, but I already tryed that, and it did not work. However I will try to figure out why did'nt work, or ill made my very own, i guess very simple, Tcl script, wich should be just triggered on channel mode change, and set them back to +nt-lpmisk. Whatever i do, i will post here when i'm done<br><br>Tnx anyway<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Tue Jan 15, 2008 10:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2008-01-15T10:01:08-04:00</updated>

		<published>2008-01-15T10:01:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80079#p80079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80079#p80079"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80079#p80079"><![CDATA[
DarkRaptor is 100% correct.  You do not need any script to set channel modes, use <strong class="text-strong">.chanset</strong> to set them.  Also be aware, if you have preset channels in the conf file under the <strong class="text-strong">channel add</strong> section, you might want to set them to the same modes you are wishing to enforce in your channels.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Tue Jan 15, 2008 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkRaptor]]></name></author>
		<updated>2008-01-15T01:10:09-04:00</updated>

		<published>2008-01-15T01:10:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80073#p80073</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80073#p80073"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80073#p80073"><![CDATA[
Hi,<br><br>I think this can do the job.<br><div class="codebox"><p>Code: </p><pre><code>.chanset #channel chanmode ±channelmode</code></pre></div><blockquote class="uncited"><div>chanmode:   These modes are enforced on the channel. Both + and -                   modes can be enforced.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7635">DarkRaptor</a> — Tue Jan 15, 2008 1:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CyberianIce]]></name></author>
		<updated>2008-01-15T00:05:52-04:00</updated>

		<published>2008-01-15T00:05:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80072#p80072</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80072#p80072"/>
		<title type="html"><![CDATA[Mode lock]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80072#p80072"><![CDATA[
Hi there, I need a Tcl script wich will make a Bot to keep three different channel modes to three different channels (Bot should return predefined channel modes if an channel mod change detect). Each mode for each channes.<br><br>i.e<br><br>For #channel1<br>Keep these modes +nt-iklmps<br><br>For #channel2<br>Keep these modes +nt-klps<br><br>For #channel3<br>Keep these modes +nt-iklps<br><br>Any ideas?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9578">CyberianIce</a> — Tue Jan 15, 2008 12:05 am</p><hr />
]]></content>
	</entry>
	</feed>
