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

	<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>2005-11-04T02:41:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ache]]></name></author>
		<updated>2005-11-04T02:41:08-04:00</updated>

		<published>2005-11-04T02:41:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57049#p57049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57049#p57049"/>
		<title type="html"><![CDATA[Tcl error [pub:delgreet]: extra characters after close-quote]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57049#p57049"><![CDATA[
ahh <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>thank you ranny.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6853">ache</a> — Fri Nov 04, 2005 2:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ranny]]></name></author>
		<updated>2005-11-03T17:46:41-04:00</updated>

		<published>2005-11-03T17:46:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57027#p57027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57027#p57027"/>
		<title type="html"><![CDATA[Tcl error [pub:delgreet]: extra characters after close-quote]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57027#p57027"><![CDATA[
hello,<br><br>replace<br><div class="codebox"><p>Code: </p><pre><code>putquick "NOTICE $nick :Greeting for $greetnick has been removed from the "all" block." </code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>putquick "NOTICE $nick :Greeting for $greetnick has been removed from the \"all\" block." </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6386">ranny</a> — Thu Nov 03, 2005 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ache]]></name></author>
		<updated>2005-11-03T14:55:21-04:00</updated>

		<published>2005-11-03T14:55:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57024#p57024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57024#p57024"/>
		<title type="html"><![CDATA[Tcl error [pub:delgreet]: extra characters after close-quote]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57024#p57024"><![CDATA[
I can´t seem to find the problem with this.<br>I get this error:<div class="codebox"><p>Code: </p><pre><code>Tcl error [pub:delgreet]: extra characters after close-quote</code></pre></div>This is the code i have atm:<div class="codebox"><p>Code: </p><pre><code>proc pub:delgreet { nick uhost handle channel arguments } {  set greetdb "scripts/charlie.tcl/greet.db"  list arguments $arguments  set greetnick [lindex $arguments 0]  set greetchannel [lindex $arguments 1]  set searchString "$greetchannel $greetnick"  set greetChannel [open $greetdb "r"]  set greetData [read $greetChannel]  close $greetChannel  set greetData [split $greetData "\n"]  if {($greetchannel == "ALL")} {    set greetIndex [lsearch -all $greetData *$greetnick*]    foreach { greets } $greetIndex {       set greetData [lreplace $greetData $greetIndex $greetIndex]    }    putquick "NOTICE $nick :All greets for $greetnick has been removed."  } elseif {([string index $greetchannel 0]=="#")} {    set greetIndex [lsearch $greetData $searchString*]    set greetData [lreplace $greetData $greetIndex $greetIndex]    putquick "NOTICE $nick :Greeting for $greetnick has been removed from channel $greetchan."  }elseif {([string range $greetchannel 0 2]=="all")} {      set greetIndex [lsearch $greetData $searchString*]    set greetData [lreplace $greetData $greetIndex $greetIndex]    putquick "NOTICE $nick :Greeting for $greetnick has been removed from the "all" block."  } else {    putquick "NOTICE $nick :Missing parameter! \026!chelp !delgreet\026 for more info."    return  }  set greetChannel [open $greetdb "w"]  set greetData [join $greetData "\n"]  puts -nonewline $greetChannel "$greetData\n"  close $greetChannel}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6853">ache</a> — Thu Nov 03, 2005 2:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
