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

	<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-07-01T15:47:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-01T15:47:33-04:00</updated>

		<published>2004-07-01T15:47:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38114#p38114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38114#p38114"/>
		<title type="html"><![CDATA[Having troubles with a simple code. (bind notc)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38114#p38114"><![CDATA[
Ah thanx... I'm such a loser at times.<br>Can't see the problem even when its infront of you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Jul 01, 2004 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-07-01T06:02:15-04:00</updated>

		<published>2004-07-01T06:02:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38089#p38089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38089#p38089"/>
		<title type="html"><![CDATA[Having troubles with a simple code. (bind notc)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38089#p38089"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {($verbosewhy != 1)} { puts $file "\n[$date $mont</code></pre></div>Escape the [<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Thu Jul 01, 2004 6:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-01T04:49:35-04:00</updated>

		<published>2004-07-01T04:49:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38085#p38085</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38085#p38085"/>
		<title type="html"><![CDATA[Having troubles with a simple code. (bind notc)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38085#p38085"><![CDATA[
Here is the code from which I get errors from.<br><div class="codebox"><p>Code: </p><pre><code>bind notc - * verbose:procedure proc verbose:procedure {nick uhost hand text {chan ""}} { global botnick verbosetype verbosefile verbosewhy  set serviceverbose [lindex $text 0]; set verbose "VERBOSE"; set servicearrow [lindex $text 2]  set arrow "=&gt;"; set user [lindex $text 1]; set channel [lindex $text 4]; putlog a  if {($chan == $botnick) || ($nick == $botnick)} { return 0 }; putlog b  if {([string equal $nick "ChanServ"]) &amp;&amp; ([string match -nocase *$serviceverbose* $verbose]) &amp;&amp; ([string equal $servicearrow $arrow]) &amp;&amp; ([string match -nocase "*!*" $user]) &amp;&amp; ([string match -nocase "*@*" $user]) &amp;&amp; ([string match -nocase "#*" $channel])} {; putlog c  set access [lindex $text 3]; set modify [lindex $text 5]; set chan [lindex $text 4]  set from [lindex $text 1]; set nick [lindex [split $from "!"] 0]; set uhost [lindex [split $from "!"] 1]  putlog "CHANSERV VERBOSE [string toupper $chan] = $access - $modify - $chan - $from - $nick - $uhost"  set file [open $verbosefile "a"]; set time [unixtime]; set whytime [ctime $time]  set date [string trim [lindex $whytime 2]]; set month [string trim [lindex $whytime 1]]; set time [string trim [lindex $whytime 3]]   if {($verbosewhy == 1)} { puts $file "\n\[$date $month $time\] -ChanServ- $text"; catch {close $file}; putserv "PRIVMSG $chanservices :WHY $chan $nick" }   if {($verbosewhy != 1)} { puts $file "\n[$date $month $time\] -ChanServ- $text"; return 0 }   putlog "a1"   return 0   }}</code></pre></div><br>I get this error.<br><div class="codebox"><p>Code: </p><pre><code>[16:44] Tcl error [verbose:procedure]: missing close-bracket</code></pre></div>I cannot find any missing close bracket anywhere.<br><br>Plus I tried the if statements with switches as well gives me the same result. Please help me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Jul 01, 2004 4:49 am</p><hr />
]]></content>
	</entry>
	</feed>
