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

	<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-05-05T11:12:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-05T11:12:40-04:00</updated>

		<published>2005-05-05T11:12:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49054#p49054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49054#p49054"/>
		<title type="html"><![CDATA[need a bit of advice please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49054#p49054"><![CDATA[
Look how it's done in gb's code, it's pretty clear.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu May 05, 2005 11:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2005-05-05T05:52:48-04:00</updated>

		<published>2005-05-05T05:52:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49039#p49039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49039#p49039"/>
		<title type="html"><![CDATA[need a bit of advice please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49039#p49039"><![CDATA[
Hi and thanks for all replies. gb? that sounds perfect for my needs but where would I put that bit of code at the start or end of the original code?<br>many thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Thu May 05, 2005 5:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-05-04T20:38:21-04:00</updated>

		<published>2005-05-04T20:38:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49020#p49020</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49020#p49020"/>
		<title type="html"><![CDATA[need a bit of advice please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49020#p49020"><![CDATA[
the easiest way to add support for multiple chans is to make a channel setting out of it, ie.<br><div class="codebox"><p>Code: </p><pre><code>setudef flag scheckproc do_the_s_check {off nick uhost hand chan args} { if ![channel get $chan scheck] return ....</code></pre></div> <br>then just use .chanset #chan +/-scheck to enable or disable it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Wed May 04, 2005 8:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-04T18:43:58-04:00</updated>

		<published>2005-05-04T18:43:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49017#p49017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49017#p49017"/>
		<title type="html"><![CDATA[need a bit of advice please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49017#p49017"><![CDATA[
you can use "#channel *" instaed of * in the binds.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed May 04, 2005 6:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2005-05-04T18:28:26-04:00</updated>

		<published>2005-05-04T18:28:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49016#p49016</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49016#p49016"/>
		<title type="html"><![CDATA[need a bit of advice please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49016#p49016"><![CDATA[
There are no error messages it just sits there and doesnt work, however I am not too worried as I normally use eggdrop 1.6.16.<br>As for the specific channel thing yes to only work in some but not all the channels the bot is opped in.<br>Thanks for the reply<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Wed May 04, 2005 6:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-04T17:39:15-04:00</updated>

		<published>2005-05-04T17:39:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49013#p49013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49013#p49013"/>
		<title type="html"><![CDATA[need a bit of advice please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49013#p49013"><![CDATA[
you need to post error messages, I can't see why it shouldn't run under any new Eggdrop.<br><br>what do you mean with channel spezific? do you want to check for botisop or just want to exclude some channels?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed May 04, 2005 5:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2005-05-04T12:10:00-04:00</updated>

		<published>2005-05-04T12:10:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48990#p48990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48990#p48990"/>
		<title type="html"><![CDATA[need a bit of advice please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48990#p48990"><![CDATA[
Hi and thanks for reading this. I have a script that changes mode +/- s on a chan if my eggie is alone. This is to comply with network policies. However my bot is on more than 1 chan so I would like to make it chan specific, can anyone help? Also this code doesnt run on 1.6.17 can anyone see why?<br><br>Many thanks all help appreciated.<div class="codebox"><p>Code: </p><pre><code>set s_threshold 1 bind join - * {do_the_s_check 0} bind part - * {do_the_s_check 1} bind sign - * {do_the_s_check 1} proc do_the_s_check {off nick uhost hand chan args} {    if {![validchan $chan]||[string match *s* [channel get $chan chanmode]]} return    if {[isbotnick $nick]} {       utimer 5 [list do_the_s_check 0 . . . $chan]    } elseif {[botisop $chan]} {       if {([llength [chanlist $chan]]-$off)&gt;$::s_threshold} {          if {[string match *s* [lindex [getchanmode $chan] 0]]} {             pushmode $chan -s          }       } elseif {![string match *s* [lindex [getchanmode $chan] 0]]} {          pushmode $chan +s       }    } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Wed May 04, 2005 12:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
