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

	<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>2006-10-27T10:24:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-10-27T10:24:47-04:00</updated>

		<published>2006-10-27T10:24:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67450#p67450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67450#p67450"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67450#p67450"><![CDATA[
I'd also recommend using puthelp as it uses a different queue with a lower priority<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Oct 27, 2006 10:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-10-27T08:59:34-04:00</updated>

		<published>2006-10-27T08:59:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67448#p67448</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67448#p67448"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67448#p67448"><![CDATA[
If it's under heavy join/parts then it gets lagged thus leading to the delay in oping. If you really need this implement a *delay* function else remove it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Oct 27, 2006 8:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mindflow]]></name></author>
		<updated>2006-10-26T07:44:31-04:00</updated>

		<published>2006-10-26T07:44:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67419#p67419</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67419#p67419"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67419#p67419"><![CDATA[
<blockquote class="uncited"><div>* off topic *<br>mindflow stop checking the 'Disable BBCode in this post' if you use BBCode in your replyes.<br><br>* on topic *<blockquote class="uncited"><div>if {[lsearch -exact $::excludedchans $channel] == -1} </div></blockquote>is missing a "{"<div class="codebox"><p>Code: </p><pre><code>if {[lsearch -exact $::excludedchans $channel] == -1} {</code></pre></div>Also, if the channel name will be #foo and in the 'excludedchans' you have #FOO or something different than #foo then it will send the message. I would go for 'setudef'.</div></blockquote>Ok. the TCL working now, but i got a strange behavior from the bot, after added that line i got a huge "lag" or "delay" when the bot auto op me, i know auto op is a bad this to use, but since the channels are protected by channel service i use it any way <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> <br><br>Problem:<br>befor that line i got auto oped 2 sec after i joined, now it takes up to 1 minute befor i got my @, the bot are on 4 channels with maybe 100 users total, so that shouldent be any problem, anyone that have a suggestion about this? and i have a of topic question too, to change the eggdrop version reply i need to add 1 line in the eggdrop.con file, i forgot what line that is. someone that know what i mean?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6052">mindflow</a> — Thu Oct 26, 2006 7:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-24T03:26:39-04:00</updated>

		<published>2006-10-24T03:26:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67375#p67375</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67375#p67375"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67375#p67375"><![CDATA[
I thought lsearch was case-sensitive when using the -exact switch?  Hmm, just looked at the lsearch manpage, guess you'd have to use -exact -ascii for it to be case-sensitive.<br><br>And about crashing the bot, sorry!  &lt;grin&gt;<br><br>Read this post and you'll never have a bot crash from loading scripts:<br><br><a href="http://forum.egghelp.org/viewtopic.php?p=63899#63899" class="postlink">http://forum.egghelp.org/viewtopic.php?p=63899#63899</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Oct 24, 2006 3:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-10-24T02:57:31-04:00</updated>

		<published>2006-10-24T02:57:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67374#p67374</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67374#p67374"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67374#p67374"><![CDATA[
* off topic *<br>mindflow stop checking the 'Disable BBCode in this post' if you use BBCode in your replyes.<br><br>* on topic *<blockquote class="uncited"><div>if {[lsearch -exact $::excludedchans $channel] == -1} </div></blockquote>is missing a "{"<div class="codebox"><p>Code: </p><pre><code>if {[lsearch -exact $::excludedchans $channel] == -1} {</code></pre></div>Also, if the channel name will be #foo and in the 'excludedchans' you have #FOO or something different than #foo then it will send the message. I would go for 'setudef'.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Oct 24, 2006 2:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mindflow]]></name></author>
		<updated>2006-10-23T21:48:12-04:00</updated>

		<published>2006-10-23T21:48:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67370#p67370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67370#p67370"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67370#p67370"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set excludedchans "#channelname #chan2 #whatever"proc msg_jmsg1 {nick uhost hand channel args} {    global botnick     if {[lsearch -exact $::excludedchans $channel] == -1}          putserv "NOTICE $nick : Hi $nick, I'm $botnick. Rest of msg"     } else {          return     }}</code></pre></div>BTW "args" is a special case in tcl, in case you run into problems using it.</div></blockquote>Thnx for the help, the code didnt work as it should tho.. any other idea?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><br><br>* EDIT *<br><br>Forgot to say, the bot dies when i rehach it:<blockquote class="uncited"><div>(03:45) « bot » (file "scripts/fun.tcl" line 710)<br>(03:45) « bot » invoked from within<br>(03:45) « bot » "source scripts/fun.tcl"<br>(03:45) « bot » (file "bot.conf" line 1220)<br>(03:45) « bot » [05:44] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br><br>Line 710 in the tcl:<br><br>proc msg_jmsg1 {nick uhost hand channel} {</div></blockquote>tryed to edit it a bit, but still same result.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6052">mindflow</a> — Mon Oct 23, 2006 9:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-10-23T17:26:46-04:00</updated>

		<published>2006-10-23T17:26:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67366#p67366</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67366#p67366"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67366#p67366"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set excludedchans "#channelname #chan2 #whatever"proc msg_jmsg1 {nick uhost hand channel args} {    global botnick     if {[lsearch -exact $::excludedchans $channel] == -1}          putserv "NOTICE $nick : Hi $nick, I'm $botnick. Rest of msg"     } else {          return     }}</code></pre></div>BTW "args" is a special case in tcl, in case you run into problems using it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Oct 23, 2006 5:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mindflow]]></name></author>
		<updated>2006-10-23T17:18:44-04:00</updated>

		<published>2006-10-23T17:18:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67365#p67365</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67365#p67365"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67365#p67365"><![CDATA[
<blockquote class="uncited"><div>Try it: <a href="http://www.egghelp.org/tclhtml/3478-4-7-0-1.htm" class="postlink">http://www.egghelp.org/tclhtml/3478-4-7-0-1.htm</a></div></blockquote>uhum, thats a link to other peoples TCL, all i need is a if statement, if {chan == #channel} do nothing <br><br>dont remember how to write it right tho..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6052">mindflow</a> — Mon Oct 23, 2006 5:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2006-10-23T17:08:02-04:00</updated>

		<published>2006-10-23T17:08:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67364#p67364</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67364#p67364"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67364#p67364"><![CDATA[
Try it: <a href="http://www.egghelp.org/tclhtml/3478-4-7-0-1.htm" class="postlink">http://www.egghelp.org/tclhtml/3478-4-7-0-1.htm</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Mon Oct 23, 2006 5:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mindflow]]></name></author>
		<updated>2006-10-23T16:57:22-04:00</updated>

		<published>2006-10-23T16:57:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67363#p67363</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67363#p67363"/>
		<title type="html"><![CDATA[on join help!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67363#p67363"><![CDATA[
I havent been working in TCL for a long time now, and i need 1 channel to be excluded from the "join" event, this is how it looks like now.<br><div class="codebox"><p>Code: </p><pre><code>bind join * * msg_jmsg1proc msg_jmsg1 {nick uhost hand channel args} {global botnick    putserv "NOTICE $nick : Hi $nick, I'm $botnick. Rest of my message here. :)"     return 1}</code></pre></div>how would i make this see if the channel the person join is the excluded channel, the bot are on 6 channels i want it to send the notice on join, then 1 i dont want it to send the notice too.. someone that can help me with this?[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6052">mindflow</a> — Mon Oct 23, 2006 4:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
