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

	<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-11-09T23:56:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-11-09T23:56:29-04:00</updated>

		<published>2003-11-09T23:56:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29787#p29787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29787#p29787"/>
		<title type="html"><![CDATA[need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29787#p29787"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc dcc:enfer {hand idx arg} {   set victim [lindex [split $arg] 0]   set victimidx [hand2idx $victim]   if {[valididx $victimidx]} {      chattr $victim +E      setchan $victimidx 666      return 1   } else {      putdcc $idx "$victim is not a valid partyline user."      return 0   }} </code></pre></div>Try that for starters. At least it sets +E.<br><br>Also, did you test the code with a normal user (without +m)?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Nov 09, 2003 11:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-11-09T15:28:46-04:00</updated>

		<published>2003-11-09T15:28:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29773#p29773</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29773#p29773"/>
		<title type="html"><![CDATA[need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29773#p29773"><![CDATA[
sorry to say that it doesnt work either with ou without the " else"<br><br>i dont know where to look now i`m totally confused <br><br>thanks for your help<br><br>Pitchat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Sun Nov 09, 2003 3:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TALES]]></name></author>
		<updated>2003-11-09T14:13:29-04:00</updated>

		<published>2003-11-09T14:13:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29766#p29766</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29766#p29766"/>
		<title type="html"><![CDATA[never]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29766#p29766"><![CDATA[
i have never seen that in a tcl Sir_Fz. maybe i did not notice that  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> <br>i learn everyday something new <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4104">TALES</a> — Sun Nov 09, 2003 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-11-09T11:36:02-04:00</updated>

		<published>2003-11-09T11:36:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29756#p29756</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29756#p29756"/>
		<title type="html"><![CDATA[need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29756#p29756"><![CDATA[
<strong class="text-strong">} {</strong> same as <strong class="text-strong">} else {</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Nov 09, 2003 11:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TALES]]></name></author>
		<updated>2003-11-09T08:54:22-04:00</updated>

		<published>2003-11-09T08:54:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29750#p29750</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29750#p29750"/>
		<title type="html"><![CDATA[need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29750#p29750"><![CDATA[
Should there be any <strong class="text-strong">else</strong> between  } { ??<br><br>this:<div class="codebox"><p>Code: </p><pre><code> return    } {       putdcc $idx "nice try !" </code></pre></div>to this:<div class="codebox"><p>Code: </p><pre><code> return    } else {       putdcc $idx "nice try !"</code></pre></div>and this:<div class="codebox"><p>Code: </p><pre><code> return 1    } {       putdcc $idx "[lindex $arg 0] is not a valid partyline user." </code></pre></div>to this:<div class="codebox"><p>Code: </p><pre><code> return 1    } else {       putdcc $idx "[lindex $arg 0] is not a valid partyline user." </code></pre></div>not shure but could be<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4104">TALES</a> — Sun Nov 09, 2003 8:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-11-02T16:23:03-04:00</updated>

		<published>2003-11-02T16:23:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29369#p29369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29369#p29369"/>
		<title type="html"><![CDATA[need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29369#p29369"><![CDATA[
still dont work<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Sun Nov 02, 2003 4:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-11-02T13:03:08-04:00</updated>

		<published>2003-11-02T13:03:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29353#p29353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29353#p29353"/>
		<title type="html"><![CDATA[need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29353#p29353"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {![matchattr $hand m]} {chattr [idx2hand $idx]  +E}</code></pre></div>you have two blank spaces between <em class="text-italics">[idx2hand $idx]</em> and <em class="text-italics">+E</em><br>remove one of them and try again<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Sun Nov 02, 2003 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-11-02T01:49:31-04:00</updated>

		<published>2003-11-02T01:49:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29317#p29317</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29317#p29317"/>
		<title type="html"><![CDATA[need help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29317#p29317"><![CDATA[
i did a little script , when an owner type .enfer (nick ) it suppose to give the user the flag +E then  send the user in chan 666 on the partyline and lock him in until he say a certain sentence after that the +E is remove and the user send back to the partyline .<br><br>heres the problem the script doesnt set the +E flag so the user can escape anytime<br><div class="codebox"><p>Code: </p><pre><code># BINDS# -----bind filt E * filt:enferbind chjn - * chjn:enferbind chon E * chon:enferbind dcc m enfer dcc:enfer# CODE# ----proc filt:enfer {idx text} {if {[string tolower $text] == "i will not do bad things"} {chattr [idx2hand $idx] -Eputdcc $idx "so soon? ok, youre back on the partyline"setchan $idx 0return} {putdcc $idx "nice try !"return}}proc chjn:enfer {bot hand chan flag idx from} {if {$chan == "666"} {if {![matchattr $hand m]} {chattr [idx2hand $idx]  +E}putdcc $idx "welcome in hell bad boy?"putdcc $idx "you have two choices , you stay here with me or you say \"i will not do bad things\"... the choice is yours!"}}proc chon:enfer {hand idx} {setchan $idx 666return}proc dcc:enfer {hand idx arg} {set idx [hand2idx [lindex $arg 0] ]if {[valididx $idx]} {setchan $idx 666return 1} {putdcc $idx "[lindex $arg 0] is not a valid partyline user."return 0}}</code></pre></div>any help welcome <br><br>Pitchat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Sun Nov 02, 2003 1:49 am</p><hr />
]]></content>
	</entry>
	</feed>
