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

	<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>2003-12-29T14:09:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-12-29T14:09:53-04:00</updated>

		<published>2003-12-29T14:09:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31938#p31938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31938#p31938"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31938#p31938"><![CDATA[
ooops... my fault <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=2617">arcane</a> — Mon Dec 29, 2003 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-29T06:44:59-04:00</updated>

		<published>2003-12-29T06:44:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31912#p31912</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31912#p31912"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31912#p31912"><![CDATA[
<blockquote class="uncited"><div>if {[info exists greetmsg($chan) &amp;&amp; ![matchattr $hand of|of $chan]} {</div></blockquote>If you notice, there's a missing "<strong class="text-strong">]</strong>" after "<strong class="text-strong">greetmsg($chan)</strong>"<div class="codebox"><p>Code: </p><pre><code>if {[info exists greetmsg($chan)] &amp;&amp; ![matchattr $hand of|of $chan]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Dec 29, 2003 6:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DvilleStoner]]></name></author>
		<updated>2003-12-29T04:24:21-04:00</updated>

		<published>2003-12-29T04:24:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31909#p31909</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31909#p31909"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31909#p31909"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - * greetset greetmsg(#Channel) "greet"set greetmsg(#channel2) "greet"proc greet {nick host hand chan} {global greetmsgset chan [string tolower $chan]if {[info exists greetmsg($chan) &amp;&amp; ![matchattr $hand of|of $chan]} {puthelp "NOTICE $nick :$greetmsg($chan)"}}putlog "Channel Greet v 1.0 - Loaded Correctly!"</code></pre></div><br>Thats what I got and it gives me this error.<br><br>&lt;Bot&gt; [03:24] Tcl error [greet]: missing close-bracket<br><br>When a user joins.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4273">DvilleStoner</a> — Mon Dec 29, 2003 4:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-28T08:22:58-04:00</updated>

		<published>2003-12-28T08:22:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31880#p31880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31880#p31880"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31880#p31880"><![CDATA[
<blockquote class="uncited"><div>set greetmsg(#chan1) "greet msg for chan1" <br>set greetmsg(#chan2) "greet msg for chan2" <br>matchattr $hand of|of $chan<br><br>so I just change these to the channel and the greeting<br>and it will msg users withOUT the +of that join that channel?<br>just wanna make sure this is what im supposed to change</div></blockquote>NO, you open a new file and paste the following:<div class="codebox"><p>Code: </p><pre><code>bind join - * greet set greetmsg(#chan1) "greet msg for chan1" set greetmsg(#chan2) "greet msg for chan2" proc greet {nick host hand chan} { global greetmsg  set chan [string tolower $chan]  if {[info exists greetmsg($chan) &amp;&amp; ![matchattr $hand of|of $chan]} {   puthelp "NOTICE $nick :$greetmsg($chan)"   } }</code></pre></div>as Arcane suggested (I just changed the matchattr check)<br><br>and load it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Dec 28, 2003 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DvilleStoner]]></name></author>
		<updated>2003-12-28T02:32:12-04:00</updated>

		<published>2003-12-28T02:32:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31866#p31866</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31866#p31866"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31866#p31866"><![CDATA[
set greetmsg(#chan1) "greet msg for chan1" <br>set greetmsg(#chan2) "greet msg for chan2" <br>matchattr $hand of|of $chan<br><br>so I just change these to the channel and the greeting<br>and it will msg users withOUT the +of that join that channel?<br>just wanna make sure this is what im supposed to change<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4273">DvilleStoner</a> — Sun Dec 28, 2003 2:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-12-22T14:06:55-04:00</updated>

		<published>2003-12-22T14:06:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31696#p31696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31696#p31696"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31696#p31696"><![CDATA[
After you've made the changes as they sugested save the file and .rehash the eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Dec 22, 2003 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DvilleStoner]]></name></author>
		<updated>2003-12-22T13:20:40-04:00</updated>

		<published>2003-12-22T13:20:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31695#p31695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31695#p31695"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31695#p31695"><![CDATA[
I put both of those posted lines in a greet.tcl and just load it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4273">DvilleStoner</a> — Mon Dec 22, 2003 1:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-20T19:18:16-04:00</updated>

		<published>2003-12-20T19:18:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31636#p31636</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31636#p31636"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31636#p31636"><![CDATA[
<strong class="text-strong">matchattr $hand of</strong> is correct if the user has global +of flags. if you want it to check for global or local flags then use:<div class="codebox"><p>Code: </p><pre><code>matchattr $hand of|of $chan</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Dec 20, 2003 7:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-12-20T09:10:35-04:00</updated>

		<published>2003-12-20T09:10:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31623#p31623</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31623#p31623"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31623#p31623"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - * greetset greetmsg(#chan1) "greet msg for chan1"set greetmsg(#chan2) "greet msg for chan2"proc greet {nick host hand chan} {global greetmsg    set chan [string tolower $chan]    if {[info exists greetmsg($chan) &amp;&amp; ![matchattr $hand of]} {           puthelp "NOTICE $nick :$greetmsg($chan)"    }}</code></pre></div>i'm not sure about the matchattr of, but the rest should be fine.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Sat Dec 20, 2003 9:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DvilleStoner]]></name></author>
		<updated>2003-12-20T08:14:18-04:00</updated>

		<published>2003-12-20T08:14:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31622#p31622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31622#p31622"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31622#p31622"><![CDATA[
I have downloaded a different greet script.<br>Im getting this error.<br><br><br>&lt;BotA&gt; [07:09] Tcl error [msg_pmsg2]: can't read "siteinfo2": no such variable<br>&lt;BotA&gt; [07:09] Tcl error [msg_jmsg2]: can't read "www2": no such variable<br><br><br>here is everything in the tcl file that has "siteinfo2" in it<br><br>## Do you want to display the website info on leave? (1-On/0-Off)<br>set siteinfo2 "0"<br><br>proc msg_pmsg2 {nick uhost hand channel args} {<br>    global partmsg2 siteinfo2 www2 update2<br>      if {$siteinfo2 == "0"} {<br>       putserv "PRIVMSG $nick : [do_part2 $args]"<br>    return 0<br> }<br><br>      if {$siteinfo2 == "1"} {<br>       putserv "PRIVMSG $nick : $www2 -updated!- $update2" <br>       putserv "PRIVMSG $nick : [do_part2 $args]"<br>    return 0<br> }<br><br><br><br>I just need a basic basic greet script.<br>One that can send 2 different greets to 2 different channels, to greet people that JUST join, not part. And one that does NOT msg the +of users on the bots. If someone could post a basic one of these I would GREATLY appreciate it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4273">DvilleStoner</a> — Sat Dec 20, 2003 8:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-12-20T05:30:47-04:00</updated>

		<published>2003-12-20T05:30:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31618#p31618</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31618#p31618"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31618#p31618"><![CDATA[
after showing the error message, you have to show the proc which is causing this error. In your case the proc is <strong class="text-strong">autogreet</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Dec 20, 2003 5:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DvilleStoner]]></name></author>
		<updated>2003-12-19T20:54:02-04:00</updated>

		<published>2003-12-19T20:54:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=31614#p31614</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=31614#p31614"/>
		<title type="html"><![CDATA[greetd.tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=31614#p31614"><![CDATA[
I loaded this script. Downloaded it from the web site. I load the bot and when it attempts to msg a user that joins it says<br>&lt;BotA&gt; [19:50] Tcl error [autogreet]: can't read "greetd(show)": no such variable<br>and doesnt msg anybody<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4273">DvilleStoner</a> — Fri Dec 19, 2003 8:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
