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

	<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>2001-12-12T22:31:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ian-Highlander]]></name></author>
		<updated>2001-12-12T22:31:00-04:00</updated>

		<published>2001-12-12T22:31:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2686#p2686</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2686#p2686"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2686#p2686"><![CDATA[
LMAO, oops, knew I shouldnt try and code anything that early in the day. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":razz:" title="Razz"><br><br>I missed out an opening brace after the "if {[string tolower $chan......" bit, this definitely works, I tested it:<br><div class="codebox"><p>Code: </p><pre><code>bind join * * chan_message proc chan_message {nick host hand chan} { if {[string tolower $chan] == [string tolower "#youroldchanname"]} {putserv "PRIVMSG $chan :Your message goes here" return 0 } return 0 }</code></pre></div>Regards<br><br>Ian-Highlander<br><br>_________________<br>How can you tell if a blonde is having a bad day?<br> <br>She has a tampon behind her ear and she forgot where she put her pencil.<br><br><a href="http://www.eggdropsrus.co.uk" class="postlink">http://www.eggdropsrus.co.uk</a><br><a href="mailto:ian.highlander@eggdropsrus.co.uk">ian.highlander@eggdropsrus.co.uk</a><br><br>&lt;font size=-1&gt;[ This Message was edited by: Ian-Highlander on 2001-12-12 19:32 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=17">Ian-Highlander</a> — Wed Dec 12, 2001 10:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2001-12-12T16:16:00-04:00</updated>

		<published>2001-12-12T16:16:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2677#p2677</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2677#p2677"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2677#p2677"><![CDATA[
Hey Ian-Highlander your "if {[string tolower $chan] == [string tolower "#youroldchannel"]}' has this error:<br>"TCL error [chan_message]: wrong # args: no script following "{[string tolower $ch" argument".<br><br>And Sean in the future pls say in the forum what errors did you get.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Dec 12, 2001 4:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2001-12-12T15:45:00-04:00</updated>

		<published>2001-12-12T15:45:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2676#p2676</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2676#p2676"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2676#p2676"><![CDATA[
Hey Sean check this out:<br><br>- Code -<br>bind join * * chan_message <br><br>proc chan_message {nick host hand chan} { <br>global botnick<br>if {$nick == $botnick} {return 1} <br>if {[validchan #YourOldChan]} { <br>putserv "PRIVMSG $chan :Your message to channel goes here"<br>putserv "NOTICE $nick :Your notice to nick goes here"<br>} <br>}<br>- Code -<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Dec 12, 2001 3:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-12T13:55:00-04:00</updated>

		<published>2001-12-12T13:55:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2665#p2665</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2665#p2665"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2665#p2665"><![CDATA[
There are several ONJOIN/GREET scripts already made, that you could be using also. <p>Statistics: Posted by Guest — Wed Dec 12, 2001 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-12T13:44:00-04:00</updated>

		<published>2001-12-12T13:44:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2663#p2663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2663#p2663"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2663#p2663"><![CDATA[
still no good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":sad:" title="Sad"><p>Statistics: Posted by Guest — Wed Dec 12, 2001 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-12T13:40:00-04:00</updated>

		<published>2001-12-12T13:40:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2662#p2662</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2662#p2662"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2662#p2662"><![CDATA[
i tried rehash, i will try restart now<p>Statistics: Posted by Guest — Wed Dec 12, 2001 1:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2001-12-09T18:32:00-04:00</updated>

		<published>2001-12-09T18:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2581#p2581</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2581#p2581"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2581#p2581"><![CDATA[
Have you tried a .restart of the eggy ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Dec 09, 2001 6:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-08T21:15:00-04:00</updated>

		<published>2001-12-08T21:15:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2556#p2556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2556#p2556"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2556#p2556"><![CDATA[
Hehe, i am not that much of a newbie. I know how to operate tcls, just not how to use them... i put the line at the bottom of the conf and rehashed. i used a test channel and put the name of it into the tcl. i have exactly what you told me to put except i changed the message, channel and the NOTICE $NICK. I have no idea why it won't work <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":sad:" title="Sad"><p>Statistics: Posted by Guest — Sat Dec 08, 2001 9:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ian-Highlander]]></name></author>
		<updated>2001-12-08T18:54:00-04:00</updated>

		<published>2001-12-08T18:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2551#p2551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2551#p2551"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2551#p2551"><![CDATA[
This might be stating the obvious, but you did save it as a .tcl file and add a line to the bottom of your bots config file then .rehash the bot didnt you?<br>Also make sure there is a space after $nick or $chan (whichever line you decided to use in the end) before the colon :<br><br>If you still cant get it working and you've done all this paste up exactly what you are typing in and how you are loading it.<br><br>Regards<br><br>Ian-Highlander<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=17">Ian-Highlander</a> — Sat Dec 08, 2001 6:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-08T16:22:00-04:00</updated>

		<published>2001-12-08T16:22:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2549#p2549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2549#p2549"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2549#p2549"><![CDATA[
I added the Notice $nick thingy, but it still doesn't seem to work, the two things i edited were the channel and the message is there more to be edited i can't get it to work... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":sad:" title="Sad"><p>Statistics: Posted by Guest — Sat Dec 08, 2001 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2001-12-08T16:17:00-04:00</updated>

		<published>2001-12-08T16:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2548#p2548</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2548#p2548"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2548#p2548"><![CDATA[
This will say your "Your message goes here"  in the channel when a user is joining. If you want to notice the user then change this:<br><br>- from -<br>putserv "PRIVMSG $chan :Your message goes here" <br><br>- to -<br>putserv "NOTICE $nick :Your message goes here" <br><br>This should do it. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Dec 08, 2001 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-08T14:09:00-04:00</updated>

		<published>2001-12-08T14:09:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2544#p2544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2544#p2544"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2544#p2544"><![CDATA[
Thanks you! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"> This will notice the person?<p>Statistics: Posted by Guest — Sat Dec 08, 2001 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ian-Highlander]]></name></author>
		<updated>2001-12-08T10:45:00-04:00</updated>

		<published>2001-12-08T10:45:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2539#p2539</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2539#p2539"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2539#p2539"><![CDATA[
bind join * * chan_message<br><br>proc chan_message {nick host hand chan} {<br>if {[string tolower $chan] == [string tolower "#youroldchannel"]}<br>putserv "PRIVMSG $chan :Your message goes here"<br>return 0<br> }<br>return 0<br>}<br><br>That should do it.<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>Really should make sure I'm awake before answering help queries lol<br>_________________<br>How can you tell if a blonde is having a bad day?<br> <br>She has a tampon behind her ear and she forgot where she put her pencil.<br><br><a href="http://www.eggdropsrus.co.uk" class="postlink">http://www.eggdropsrus.co.uk</a><br><a href="mailto:ian.highlander@eggdropsrus.co.uk">ian.highlander@eggdropsrus.co.uk</a><br><br>&lt;font size=-1&gt;[ This Message was edited by: Ian-Highlander on 2001-12-08 07:56 ]&lt;/font&gt;<br><br>&lt;font size=-1&gt;[ This Message was edited by: Ian-Highlander on 2001-12-08 07:56 ]&lt;/font&gt;<br><br>&lt;font size=-1&gt;[ This Message was edited by: Ian-Highlander on 2001-12-08 07:58 ]&lt;/font&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=17">Ian-Highlander</a> — Sat Dec 08, 2001 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-08T10:24:00-04:00</updated>

		<published>2001-12-08T10:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2538#p2538</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2538#p2538"/>
		<title type="html"><![CDATA[Tcl request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2538#p2538"><![CDATA[
I run a channel and i wish to change the channel to another one, is it possible that someone can help me make a tcl which notices the user to join the new channel when they come in? Such as something like. 'Hello whoever, this channel is closed please join #newchannel' i'd be grateful if someone could help me, please.<p>Statistics: Posted by Guest — Sat Dec 08, 2001 10:24 am</p><hr />
]]></content>
	</entry>
	</feed>
