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

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

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-02T05:54:06-04:00</updated>

		<published>2004-05-02T05:54:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36030#p36030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36030#p36030"/>
		<title type="html"><![CDATA[no-limit-change tcl errors....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36030#p36030"><![CDATA[
When obtaining a result from a Tcl command/procedure in use for evaluation, you need to use []'s, not ()'s...<br><br>ie.<br>if {[string match "*.*" $nick]} { ... it's a server ... }<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun May 02, 2004 5:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-05-02T05:09:45-04:00</updated>

		<published>2004-05-02T05:09:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36026#p36026</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36026#p36026"/>
		<title type="html"><![CDATA[no-limit-change tcl errors....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36026#p36026"><![CDATA[
I don't use anything like nouselimit.tcl on DALnet but as a just in case I added services as a user with the global +f flag:<br><br>&lt;Alcheri&gt; .whois dalnet<br>&lt;Ballarat&gt; [09:59] #Alchera# whois dalnet<br>&lt;Ballarat&gt; HANDLE PASS NOTES FLAGS LAST<br>&lt;Ballarat&gt; DALnet no 0 f 01 May (#Ballarat)<br>&lt;Ballarat&gt; HOSTS: *!*@dal.net<br><br>In my conf I have nodesynch enabled also.  In your script you could just then easily add [matchattr $hand +f] instead of ((string first . $nick) != -1).<br><br>No more problems, no more errors. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun May 02, 2004 5:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[}eXtreme{]]></name></author>
		<updated>2004-05-01T22:44:17-04:00</updated>

		<published>2004-05-01T22:44:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36023#p36023</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36023#p36023"/>
		<title type="html"><![CDATA[no-limit-change tcl errors....]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36023#p36023"><![CDATA[
I use nouselimit.tcl which ban anyone without proper flags who change channel limit, but that script have bug. It ban irc server when it come from split and change limit. Usless annoying ban...<br><br>I replace line:<br>if {!(([matchattr $hand +o]) &amp;&amp; ([matchattr $hand +b] || [matchattr $hand +n] || [matchattr $hand +m]))} {<br><br>with: <br> if {!(([matchattr $hand +o]) &amp;&amp; <strong class="text-strong">((string first . $nick) != -1) </strong>&amp;&amp; ([matchattr $hand +b] || [matchattr $hand +n] || [matchattr $hand +m]))} {<br><br> <br><br>But now it state me error in partyline:<br>Tcl error [guruz_limit_mode]: syntax error in expression "!(([matchattr $hand +o]) &amp;&amp; ((string first . $nick) != -1) &amp;...": variable references require preceding $<br><br>Any suggestion?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2795">}eXtreme{</a> — Sat May 01, 2004 10:44 pm</p><hr />
]]></content>
	</entry>
	</feed>
