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

	<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>2003-05-27T10:14:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-27T10:14:42-04:00</updated>

		<published>2003-05-27T10:14:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20779#p20779</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20779#p20779"/>
		<title type="html"><![CDATA[Tcl I made Doesn't work, can somebody detect my mistake ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20779#p20779"><![CDATA[
Thanx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> I was close <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> hehhee<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue May 27, 2003 10:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-26T02:10:42-04:00</updated>

		<published>2003-05-26T02:10:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20663#p20663</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20663#p20663"/>
		<title type="html"><![CDATA[Tcl I made Doesn't work, can somebody detect my mistake ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20663#p20663"><![CDATA[
The other alternative spock was talking about is by replacing this two lines:<div class="codebox"><p>Code: </p><pre><code>global botnick if {$victim == $botnick} { </code></pre></div>with this single line:<div class="codebox"><p>Code: </p><pre><code>if {$victim == $::botnick} { </code></pre></div>The result will be the same.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon May 26, 2003 2:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-26T00:33:43-04:00</updated>

		<published>2003-05-26T00:33:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20659#p20659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20659#p20659"/>
		<title type="html"><![CDATA[Tcl I made Doesn't work, can somebody detect my mistake ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20659#p20659"><![CDATA[
try this:<br><div class="codebox"><p>Code: </p><pre><code>bind mode - "* -o" mode:automode proc mode:automode {nick uhost handle chan mode victim} {global botnickif {$victim == $botnick} { if {[matchattr $handle o]} { return 0 }putserv "PRIVMSG chanserv@services.dal.net :deop $chan $nick"} }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Mon May 26, 2003 12:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-25T16:12:44-04:00</updated>

		<published>2003-05-25T16:12:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20645#p20645</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20645#p20645"/>
		<title type="html"><![CDATA[Tcl I made Doesn't work, can somebody detect my mistake ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20645#p20645"><![CDATA[
can u be more specific plz, i got the ::botnick thing... but the global botnick thing... not so much<br><br>can u explain or give me example<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 25, 2003 4:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-05-25T15:56:42-04:00</updated>

		<published>2003-05-25T15:56:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20642#p20642</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20642#p20642"/>
		<title type="html"><![CDATA[Tcl I made Doesn't work, can somebody detect my mistake ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20642#p20642"><![CDATA[
try using $::botnick or adding "global botnick" inside your proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sun May 25, 2003 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-25T15:47:51-04:00</updated>

		<published>2003-05-25T15:47:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20641#p20641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20641#p20641"/>
		<title type="html"><![CDATA[Tcl I made Doesn't work, can somebody detect my mistake ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20641#p20641"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind mode "-" "* -o" mode:automodeproc mode:automode {nick uhost handle chan mode victim} {if {([matchattr $nick o])} { return 0 }if {([matchattr $nick m])} { return 0 }if {([matchattr $nick n])} { return 0 }if {![isop $nick $chan]} { return 0 }if {[isop $victim $chan]} { return 0 }if {[string match "$victim" "$botnick"] &amp;&amp; [botisop $chan]} { putserv "PRIVMSG chanserv@services.dal.net :deop $chan $nick" } } }</code></pre></div>this script is supposed to make the bot deop the person who deops it (using Chanserv), but it doesn't work; I think the problem is here : <strong class="text-strong">if {[string match "$victim" "$botnick"] &amp;&amp; [botisop $chan]} {</strong><br>I tried hundred ways to fix it, but I'm still very new. Would somebody helpme plz <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Also can u answer my other threads in this forum "bot self ban protection" &amp; "ban mask problem" <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> ... Thank You <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=3085">Sir_Fz</a> — Sun May 25, 2003 3:47 pm</p><hr />
]]></content>
	</entry>
	</feed>
