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

	<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-18T17:46:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-02-18T17:46:59-04:00</updated>

		<published>2005-02-18T17:46:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46740#p46740</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46740#p46740"/>
		<title type="html"><![CDATA[Weird eggdrop-error with that script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46740#p46740"><![CDATA[
does the channel contain some wired character that cause the bot not getting a match when triing to the match the just joined channel again the chanlist?<br><br>does it happen as well when you add "return 0" the line below "join_automode $n $u $h $c $a"?<br><br>not do mention its completly unnecessary to bind to raw and make 2 procs out of it @_o.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Feb 18, 2005 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[puffi]]></name></author>
		<updated>2005-02-17T15:58:13-04:00</updated>

		<published>2005-02-17T15:58:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=46700#p46700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=46700#p46700"/>
		<title type="html"><![CDATA[Weird eggdrop-error with that script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=46700#p46700"><![CDATA[
when i load that script into eggdrop<br>(all this is in namespace automodes)<div class="codebox"><p>Code: </p><pre><code>bind raw * JOIN automodes::rawjoin_automode  proc rawjoin_automode {from keyword txt} {    set n [lindex [split $from "!"] 0]    set u [lindex [split $from "!"] 1]    set h "*"    set c [string range $txt [string first "#" $txt] end]    set a ""    join_automode $n $u $h $c $a  }  proc join_automode {n u h c a} {    global automodes::doautomodes_on_myop    if {[isbotnick $n]} {      putlog "Joined Auto-Mode channel $c. Do automodes as soon as i get op."      set automodes::doautomodes_on_myop($c) 1    } else {      if {![botisop $c]} { return 0 }      if {[channel get $c av]} {        putserv "MODE $c +v $n"      }      if {[channel get $c ao]} {        putserv "MODE $c +o $n"      }    }  }</code></pre></div>and i .restart it (not rehash) then it joins all channels, and just after the<br>Joined Auto-Mode channel $c. Do automodes as soon as i get op.<br>is put into the partyline..that happens<br><div class="codebox"><p>Code: </p><pre><code>[20:52] Oops.   Someone made me join #chan... leaving...</code></pre></div>then the eggdrop leaves the channel and rejoins in 10-15 seconds. when it rejoins the same message comes up and it would loop infinitely (i guess)<br><br>any suggestions?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4998">puffi</a> — Thu Feb 17, 2005 3:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
