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

	<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-02-05T15:05:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[duofruo]]></name></author>
		<updated>2004-02-05T15:05:53-04:00</updated>

		<published>2004-02-05T15:05:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33262#p33262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33262#p33262"/>
		<title type="html"><![CDATA[need help script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33262#p33262"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {![matchattr $hand n|n $arg]} { return 0 } </code></pre></div>this worked. thx a lot. i try to make a cool script, but i have some prblems<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4023">duofruo</a> — Thu Feb 05, 2004 3:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[duofruo]]></name></author>
		<updated>2004-02-05T14:58:32-04:00</updated>

		<published>2004-02-05T14:58:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33261#p33261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33261#p33261"/>
		<title type="html"><![CDATA[need help script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33261#p33261"><![CDATA[
i am in a big confusion, i have some problem whith english, but i will try thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4023">duofruo</a> — Thu Feb 05, 2004 2:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2004-02-05T13:28:11-04:00</updated>

		<published>2004-02-05T13:28:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33254#p33254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33254#p33254"/>
		<title type="html"><![CDATA[need help script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33254#p33254"><![CDATA[
Two things... first there's no point to the "eval" bit. The normal way to call procs in tcl is<br><br>procname arg1 arg2<br><br>rather than<br><br>eval procname [list $arg1] [list $arg2]<br><br>Second, change your bind to -|-, since if a person has +n in #chan instead of #chan2, and no global +n, the bind won't trigger at all. Instead, do matchattr checking inside the proc, like this:<br><br>if {![matchattr $hand n|n $arg]} { return 0 }<br><br>Then you need to make sure that $arg is a valid channel before trying to use channel set. Or, another way to do it, would be to put channel set inside catch {} and msg the user something like "$arg1 is not a valid channel you fool!" if there's an error.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Feb 05, 2004 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-02-05T12:45:07-04:00</updated>

		<published>2004-02-05T12:45:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33249#p33249</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33249#p33249"/>
		<title type="html"><![CDATA[need help script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33249#p33249"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if { [matchattr $nick +n $arg] == 1} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Feb 05, 2004 12:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[duofruo]]></name></author>
		<updated>2004-02-05T12:14:57-04:00</updated>

		<published>2004-02-05T12:14:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33247#p33247</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33247#p33247"/>
		<title type="html"><![CDATA[need help script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33247#p33247"><![CDATA[
i wana make a script that you will pe able to "templeave" your eggdrop. and olso "comeback" him throw msg<div class="codebox"><p>Code: </p><pre><code>bind pub n|n .templeave proc:templeaveproc proc:templeave {nick uhost hand chan arg} {global duo templeaveputserv "PART $chan :I have temporarly left from $chan by demand of $nick. user comback to rejoin $chan"eval channel set [list $chan] +inactive}</code></pre></div>and for comeback i use<div class="codebox"><p>Code: </p><pre><code>bind msg n|n .comeback proc:comebackproc proc:comeback {nick uhost hand arg} {global duo templeaveputquick "privmsg $nick :i will try to comeback to $arg"eval channel set $arg -inactive}</code></pre></div>but is a problem. For example somebody form chan #chan .templeave the egdrop. but if someone whith +n from #chan2 will comeback to #chan the gg listen to him. i wana disable that<br>i hope u understand me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4023">duofruo</a> — Thu Feb 05, 2004 12:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
