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

	<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>2007-09-09T15:01:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-09-09T14:39:44-04:00</updated>

		<published>2007-09-09T14:39:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75823#p75823</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75823#p75823"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75823#p75823"><![CDATA[
Cleaned up that mess a little, could do other things but, this should be good enough:<div class="codebox"><p>Code: </p><pre><code># trigger permissions  set trigbind -|-# Set the channels to where you want the triggers available# It's now case-insensitive.set pubchanlist "#LB-Support #channel2 #etc"        # Edit these to what ever you want the trigger names to be (IE !rules or ^Help)set trigger1 "!seeding"set trigger2 "!forums"set trigger3 "!pastebin"set trigger4 "!invite"set trigger5 "!az" #Edit these to what ever you want to be displayed in the channel.set text(1) "blah blah blah"set text(2) "Please check out the forums!"set text(3) "Deleted for brevity"set text(4) "text here"set text(5) "Please see http://www.foo.com" # code belowbind pub $trigbind $trigger1 text-1bind pub $trigbind $trigger2 text-2bind pub $trigbind $trigger3 text-3bind pub $trigbind $trigger4 text-4bind pub $trigbind $trigger5 text-5set pubchanlist [string tolower $pubchanlist]proc text-1 {n u h c a }  {        global pubchanlist text        set c [string tolower $c]        if {[lsearch -exact $pubchanlist $c] == -1} {return}        puthelp "PRIVMSG $c :$text(1)"}        proc text-2 {n u h c a}  {        global pubchanlist text        set c [string tolower $c]        if {[lsearch -exact $pubchanlist $c] == -1} {return}        puthelp "PRIVMSG $c :$text(2)"}proc text-3 {n u h c a}  {        global pubchanlist text        set c [string tolower $c]          if {[lsearch -exact $pubchanlist $c] == -1} {return}        puthelp "PRIVMSG $c :$text(3)"}        proc text-4 {n u h c a}  {        global pubchanlist text        set c [string tolower $c]        if {[lsearch -exact $pubchanlist $c] == -1} {return}        puthelp "PRIVMSG $c :$text(4)"}        proc text-5 {n u h c a}  {        global pubchanlist text        set c [string tolower $c]        if {[lsearch -exact $pubchanlist $c] == -1} {return}        puthelp "PRIVMSG $c :$text(5)"}        putlog "* blah blah script loaded.."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Sep 09, 2007 2:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-09-09T14:20:35-04:00</updated>

		<published>2007-09-09T14:20:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75822#p75822</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75822#p75822"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75822#p75822"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div><a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a></div></blockquote>According to that forum.  Those should work because .set is uncommented.  </div></blockquote>Change the unbind to bind, to enable the .set command. Or comment it out and do a restart to enable it.<blockquote class="uncited"><div>What is the purpose of the moving the brackets around when posting?</div></blockquote>Not sure I understand your question, what brackets?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Sep 09, 2007 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ladynikon]]></name></author>
		<updated>2007-09-09T15:01:40-04:00</updated>

		<published>2007-09-09T13:53:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75819#p75819</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75819#p75819"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75819#p75819"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>.set errorInfo<br>What?  You need '.help'<br>.set errorinfo<br>What?  You need '.help'<br><br>According to that forum.  Those should work because .set is uncommented.  </div></blockquote>if you uncommented "#unbind dcc n set *dcc:set" in the conf, then the .set command will NOT work (that is why it is called with UNBIND)<br><strong class="text-strong">it must be commented out to work</strong></div></blockquote>Sorry my dislexia kicked in.  I thought it said it has to be uncommented.<br><br>So I decided to give up on what was wrong.  I just redownloaded the script and overwrote the fubared one.  meh.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9292">ladynikon</a> — Sun Sep 09, 2007 1:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-09-09T13:08:01-04:00</updated>

		<published>2007-09-09T13:08:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75815#p75815</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75815#p75815"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75815#p75815"><![CDATA[
<blockquote class="uncited"><div>my guess would be because you have the # before the channel name, which would comment out the rest of that line (I think..I'm new)</div></blockquote>good guess, unfortunately a wrong one.  Tcl will interpret anything enclosed within "quotation marks" as pure text, even a hash symbol.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Sep 09, 2007 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-09-09T11:38:08-04:00</updated>

		<published>2007-09-09T11:38:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75812#p75812</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75812#p75812"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75812#p75812"><![CDATA[
<blockquote class="uncited"><div>.set errorInfo<br>What?  You need '.help'<br>.set errorinfo<br>What?  You need '.help'<br><br>According to that forum.  Those should work because .set is uncommented.  </div></blockquote>if you uncommented "#unbind dcc n set *dcc:set" in the conf, then the .set command will NOT work (that is why it is called with UNBIND)<br><strong class="text-strong">it must be commented out to work</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Sep 09, 2007 11:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ladynikon]]></name></author>
		<updated>2007-09-09T08:22:11-04:00</updated>

		<published>2007-09-09T08:22:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75808#p75808</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75808#p75808"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75808#p75808"><![CDATA[
<blockquote class="uncited"><div><a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a></div></blockquote>So.. I looked at the forum you suggested.  I have a few questions...<br>.set errorInfo<br>What?  You need '.help'<br>.set errorinfo<br>What?  You need '.help'<br><br>According to that forum.  Those should work because .set is uncommented.  <br><br>What is the purpose of the moving the brackets around when posting?<br><br>Thanks,<br>LN<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9292">ladynikon</a> — Sun Sep 09, 2007 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ladynikon]]></name></author>
		<updated>2007-09-09T07:45:40-04:00</updated>

		<published>2007-09-09T07:45:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75807#p75807</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75807#p75807"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75807#p75807"><![CDATA[
<blockquote class="uncited"><div>my guess would be because you have the # before the channel name, which would comment out the rest of that line (I think..I'm new)<br><br><br>Just try removing the #<br><br>From this:<div class="codebox"><p>Code: </p><pre><code>set channelone    "#LB-Support" </code></pre></div>To this:<div class="codebox"><p>Code: </p><pre><code>set channelone    "LB-Support" </code></pre></div>If that doesn't work, go through and change all the if statements.<br><br><strong class="text-strong">This second method will make the bot respond to every channel it is in regardless of what channels you set in the beginning of the script!</strong><br><br>Change all of these:<br><div class="codebox"><p>Code: </p><pre><code>if {$c == $channelone || $c == $channeltwo || $c == $channelthree}</code></pre></div>To this:<div class="codebox"><p>Code: </p><pre><code>if {$c == $c}</code></pre></div></div></blockquote>Well in vi the line didn't change color to specify a commented out line.  AND it worked fine with that naming scheme.  I entire script worked fine then boom nothing.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9292">ladynikon</a> — Sun Sep 09, 2007 7:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-09-09T06:31:02-04:00</updated>

		<published>2007-09-09T06:31:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75805#p75805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75805#p75805"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75805#p75805"><![CDATA[
Could be a problem with different cases. Change<div class="codebox"><p>Code: </p><pre><code>if {$c == $channelone || $c == $channeltwo || $c == $channelthree} {</code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase $c $channelone] || [string equal -nocase $c $channeltwo] || [string equal -nocase $c $channelthree]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Sep 09, 2007 6:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcanedreams]]></name></author>
		<updated>2007-09-09T00:23:54-04:00</updated>

		<published>2007-09-09T00:23:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75800#p75800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75800#p75800"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75800#p75800"><![CDATA[
my guess would be because you have the # before the channel name, which would comment out the rest of that line (I think..I'm new)<br><br><br>Just try removing the #<br><br>From this:<div class="codebox"><p>Code: </p><pre><code>set channelone    "#LB-Support" </code></pre></div>To this:<div class="codebox"><p>Code: </p><pre><code>set channelone    "LB-Support" </code></pre></div>If that doesn't work, go through and change all the if statements.<br><br><strong class="text-strong">This second method will make the bot respond to every channel it is in regardless of what channels you set in the beginning of the script!</strong><br><br>Change all of these:<br><div class="codebox"><p>Code: </p><pre><code>if {$c == $channelone || $c == $channeltwo || $c == $channelthree}</code></pre></div>To this:<div class="codebox"><p>Code: </p><pre><code>if {$c == $c}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9286">arcanedreams</a> — Sun Sep 09, 2007 12:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-09-08T23:45:00-04:00</updated>

		<published>2007-09-08T23:45:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75798#p75798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75798#p75798"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75798#p75798"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?t=10215" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10215</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Sep 08, 2007 11:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ladynikon]]></name></author>
		<updated>2007-09-08T23:42:02-04:00</updated>

		<published>2007-09-08T23:42:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75797#p75797</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75797#p75797"/>
		<title type="html"><![CDATA[script suddenly stopped working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75797#p75797"><![CDATA[
So I am using easyspeak.tcl.  Everything was working fine.  I changed the channel name and wham not updating or working..<br>TCL v1.07<br><br>here is the script.. it is loaded properly in the config.<div class="codebox"><p>Code: </p><pre><code>#Edit this to who you want to activate the triggers (The default is set to #public, which means everyone can activate them)set trigbind -|-#Set the channels to where you want the triggers available#I've set it up to allow you up to 3 channels, if you want more please#e-mail me and let me know. :)set channelone    "#LB-Support"set channeltwo    ""set channelthree  ""#Edit these to what ever you want the trigger names to be (IE !rules or ^Help)set trigger1 "!seeding"set trigger2 "!forums"set trigger3 "!pastebin"set trigger4 "!invite"set trigger5 "!az"#Edit these to what ever you want to be displayed in the channel after the #trigger the has been used, (IE if trigger1 was set to !rules then change #text1 to...These are the rules ect ect).set text1 "Seeding is a major part of any thriving torrent community.  Please see http://www.bittorrentguide.co.uk/whyseed.html"set text2 "Please check out the forums! http://www.learnbits.org/forums.php"set text3 "Please paste your issue here -- &gt; http://pastie.caboo.se Paste the link that is created into our channel :)."set text4 "text here"set text5 "Please see http://www.foo.com"#Just comment out the "die" line with a ##I put it here as a small reminder to edit this script.#die "* [file tail [info script]]: Forgot to edit this script didn't you?"#****************************************************************************************#DO NOT CHANGE ANYTHING BELOW HERE#****************************************************************************************bind pub $trigbind $trigger1 text-1bind pub $trigbind $trigger2 text-2bind pub $trigbind $trigger3 text-3bind pub $trigbind $trigger4 text-4bind pub $trigbind $trigger5 text-5proc text-1 {n u h c a }  {global channeloneglobal channeltwoglobal channelthreeglobal text1if {$c == $channelone || $c == $channeltwo || $c == $channelthree} {puthelp "PRIVMSG $c :$text1"}return 0}proc text-2 {n u h c a}  {global channeloneglobal channeltwoglobal channelthreeglobal text2if {$c == $channelone || $c == $channeltwo || $c == $channelthree} {puthelp "PRIVMSG $c :$text2"}return 0}proc text-3 {n u h c a}  {global channeloneglobal channeltwoglobal channelthreeglobal text3if {$c == $channelone || $c == $channeltwo || $c == $channelthree} {puthelp "PRIVMSG $c :$text3"}return 0}proc text-4 {n u h c a}  {global channeloneglobal channeltwoglobal channelthreeglobal text4if {$c == $channelone || $c == $channeltwo || $c == $channelthree} {puthelp "PRIVMSG $c :$text4"}return 0}proc text-5 {n u h c a}  {global channeloneglobal channeltwoglobal channelthreeglobal text5if {$c == $channelone || $c == $channeltwo || $c == $channelthree} {puthelp "PRIVMSG $c :$text5"}return 0}putlog "* [file tail [info script]] by Dalanx loaded."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9292">ladynikon</a> — Sat Sep 08, 2007 11:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
