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

	<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>2004-11-08T08:52:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-11-08T08:52:20-04:00</updated>

		<published>2004-11-08T08:52:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42589#p42589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42589#p42589"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42589#p42589"><![CDATA[
Ok, i tested the code for myself, and came to the conclusion, it works fine.<br>The problem either lies in your eggdrop or something else.<br><div class="codebox"><p>Code: </p><pre><code>[13:52:10] &lt;MeTroiD&gt; !setnotice[13:52:11] -Q14- No welcome message is set for channel #Q12[13:52:13] &lt;MeTroiD&gt; !setnotice lol[13:52:13] -Q14- Done.[ /hop ][13:52:14] * Attempting to rejoin channel #Q12[13:52:14] * L sets mode: +o MeTroiD[13:52:14] -Q14- [#Q12] lol[13:52:25] &lt;MeTroiD&gt; !setnotice[13:52:25] -Q14- Welcome message for channel #Q12 is: lol</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Nov 08, 2004 8:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-11-08T07:13:50-04:00</updated>

		<published>2004-11-08T07:13:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42588#p42588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42588#p42588"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42588#p42588"><![CDATA[
Did you restart the bot or rehashed?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Nov 08, 2004 7:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-11-08T02:51:59-04:00</updated>

		<published>2004-11-08T02:51:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42586#p42586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42586#p42586"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42586#p42586"><![CDATA[
[02:53:18:pm] (@Carynst): !chanset windshrines is a private chat and gathering channel. we permit invited people only.<br>[02:53:20:pm] -foxy- I don't monitor that channel.<br>[02:53:27:pm] (@Carynst): !chanset #windshrines windshrines is a private chat and gathering channel. we permit invited people only.<br>[02:53:31:pm] (@Carynst): &gt;.&lt;<p>Statistics: Posted by Guest — Mon Nov 08, 2004 2:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-11-08T02:49:47-04:00</updated>

		<published>2004-11-08T02:49:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42585#p42585</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42585#p42585"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42585#p42585"><![CDATA[
Tcl error [pub:chanset]: illegal channel option: windshrines<br>[02:51:08:pm] (foxy): illegal channel option: is a private chat and gathering channel. we permit invited people only.<p>Statistics: Posted by Guest — Mon Nov 08, 2004 2:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-11-08T02:40:24-04:00</updated>

		<published>2004-11-08T02:40:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42584#p42584</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42584#p42584"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42584#p42584"><![CDATA[
Well as this is a different script, i would suggest you remove the other one<br><br>EDIT: I found a small typo, so please copy and paste the script again, as i fixed a missing brace :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Nov 08, 2004 2:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-11-08T02:37:54-04:00</updated>

		<published>2004-11-08T02:37:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42583#p42583</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42583#p42583"/>
		<title type="html"><![CDATA[!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42583#p42583"><![CDATA[
Oh man you're very good at it ya!<br>thanks so much.<br>one question, will it crash with my other on join notice tcl?<p>Statistics: Posted by Guest — Mon Nov 08, 2004 2:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-11-08T02:36:11-04:00</updated>

		<published>2004-11-08T02:36:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42582#p42582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42582#p42582"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42582#p42582"><![CDATA[
Check my post again :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Nov 08, 2004 2:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-11-08T02:34:36-04:00</updated>

		<published>2004-11-08T02:34:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42581#p42581</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42581#p42581"/>
		<title type="html"><![CDATA[thanks for replying]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42581#p42581"><![CDATA[
i actually wanted to make a trigger.<br>eg: <br>!setnotice #channel notice<br>then the bot immediatly sets or changes the on join channel notice.<br>instead of having to go to the eggdrop config.<p>Statistics: Posted by Guest — Mon Nov 08, 2004 2:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-11-08T02:41:18-04:00</updated>

		<published>2004-11-08T02:25:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42580#p42580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42580#p42580"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42580#p42580"><![CDATA[
What are you trying to do?<br><br>If you mean like a welcome message when people join the channel,<br>Try this (i just wrote it in this window)<br><div class="codebox"><p>Code: </p><pre><code>setudef str welcomebind pub m|m !setnotice pub:setnoticebind join - * join:welcomeproc pub:setnotice {nickname hostname handle channel arguments} {        set message [join [lrange $arguments 0 end]]        set welcome [channel get $channel "welcome"]if {($welcome == "")} {set welcome ""}                if {($message == "")} {if {($welcome == "")} {putquick "NOTICE $nickname :No welcome message is set for channel $channel"; return}                putquick "NOTICE $nickname :Welcome message for channel $channel is: $welcome"                return 0                }                if {($message == "remove")} {channel set $channel welcome ""putquick "NOTICE $nickname :Done."return 0            }                            channel set $channel welcome "$message"                            putquick "NOTICE $nickname :Done."                        }     proc join:welcome { nickname hostname handle channel } {     global botnick     if {([channel get $channel "welcome"] != "")} {     putquick "NOTICE $nickname :\[$channel\] [channel get $channel "welcome"]"            }      }</code></pre></div>This should work, When you do !setnotice it will show you the welcome message, if you do !setnotice &lt;your welcome message&gt; it will change it to that welcome message. If it doesnt work, maybe i forgot a brace.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Nov 08, 2004 2:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-11-08T00:09:56-04:00</updated>

		<published>2004-11-08T00:09:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42579#p42579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42579#p42579"/>
		<title type="html"><![CDATA[auto-notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42579#p42579"><![CDATA[
I am wondering, how do i script a simple TCL script that allows me to EG:<br>trigger !setnotice<br><br>and the bot sets a channel notice to the channel automatically. <br>Not needing to have to go into the tcl config. <br><br>I have one channel notice TCL already.<br>If this is made and added, will it crash?<br><br>How do I go about scripting such a TCL? <br><br>Thanks for reading and helping <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by Guest — Mon Nov 08, 2004 12:09 am</p><hr />
]]></content>
	</entry>
	</feed>
