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

	<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-05-25T17:54:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ace-T]]></name></author>
		<updated>2007-05-25T17:54:02-04:00</updated>

		<published>2007-05-25T17:54:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73008#p73008</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73008#p73008"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73008#p73008"><![CDATA[
all sorted, thx a million guys <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8148">Ace-T</a> — Fri May 25, 2007 5:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-05-25T17:53:15-04:00</updated>

		<published>2007-05-25T17:53:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73007#p73007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73007#p73007"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73007#p73007"><![CDATA[
And once you changed the binding, does the script work?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri May 25, 2007 5:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ace-T]]></name></author>
		<updated>2007-05-25T17:51:29-04:00</updated>

		<published>2007-05-25T17:51:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73006#p73006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73006#p73006"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73006#p73006"><![CDATA[
i only have that script running and yes i have restarted it,<br><br>when i did .binds i checked and all seemd ok,<br><br>only prob was with the pubm * it wouldnt show but if i changed the pub to bind pub "-|-" !test sitetest_info  it showed up in .binds<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8148">Ace-T</a> — Fri May 25, 2007 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-05-25T12:11:37-04:00</updated>

		<published>2007-05-25T12:11:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72981#p72981</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72981#p72981"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72981#p72981"><![CDATA[
@xU:<br>You're using a b0rken binding, see Sir_Fz's post on how to properly do it. You also, improperly, use lindex on strings..<br>Finally, if you considder making matching non-case sensitive, with recent versions of tcl you might just use "string equal -nocase &lt;string1&gt; &lt;string2&gt;".<br><br>@Ace-T:<br>I'd suspect you've got a working binding somewhere on that one bot, possibly from a previous version of the script?<br>Keep in mind that unless you completely restart your bot, old bindings, procs (that are'nt overwritten), etc will remain within the bot, even if you edit/remove the script from your config-file.<br>Try typing .binds from your dcc-console to see which bindings are currently registered on your bots.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri May 25, 2007 12:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xU]]></name></author>
		<updated>2007-05-25T11:13:43-04:00</updated>

		<published>2007-05-25T11:13:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72979#p72979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72979#p72979"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72979#p72979"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pubm * sitetest_info proc sitetest_info {nick host handle channel text} {   set test [string toupper [lindex $text 1]]  set test2 [string toupper [lindex $text 3]]if { $test == "TEST" } { putquick "PRIVMSG $channel :TEST..." } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9018">xU</a> — Fri May 25, 2007 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ace-T]]></name></author>
		<updated>2007-05-25T08:38:26-04:00</updated>

		<published>2007-05-25T08:38:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72977#p72977</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72977#p72977"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72977#p72977"><![CDATA[
just seems to be the bind pub, ill take a better look when i get home ;p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8148">Ace-T</a> — Fri May 25, 2007 8:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ace-T]]></name></author>
		<updated>2007-05-25T08:34:26-04:00</updated>

		<published>2007-05-25T08:34:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72976#p72976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72976#p72976"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72976#p72976"><![CDATA[
tried your way and no luck, but it works on one bot my way but not on another<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8148">Ace-T</a> — Fri May 25, 2007 8:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-25T08:22:22-04:00</updated>

		<published>2007-05-25T08:22:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72975#p72975</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72975#p72975"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72975#p72975"><![CDATA[
It won't work on any of your bots since the number of arguments passed to bind is incorrect. You also have problems in using [lindex] over strings.<div class="codebox"><p>Code: </p><pre><code>bind pubm - * sitetest_infoproc sitetest_info {nick host handle channel text} { set test [lindex [split $text] 1] set test2 [lindex [split $text] 3] if {$test == "TEST"} {  putquick "PRIVMSG $channel :TEST..." }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri May 25, 2007 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ace-T]]></name></author>
		<updated>2007-05-25T08:03:22-04:00</updated>

		<published>2007-05-25T08:03:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72974#p72974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72974#p72974"/>
		<title type="html"><![CDATA[script help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72974#p72974"><![CDATA[
im a little confused....<br><br>this script i have made is soooo simple and works fine with one of my bots, but one another it wont and dont have a clue why =/<br><br><br>here is the code but i cant see no problems =/<br><div class="codebox"><p>Code: </p><pre><code>bind pubm * sitetest_infoproc sitetest_info {nick host handle channel text} {  set test [lindex $text 1]  set test2 [lindex $text 3]if { $test == "TEST" } {putquick "PRIVMSG $channel :TEST..."}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8148">Ace-T</a> — Fri May 25, 2007 8:03 am</p><hr />
]]></content>
	</entry>
	</feed>
