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

	<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-02-22T05:33:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-22T05:33:24-04:00</updated>

		<published>2003-02-22T05:33:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16914#p16914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16914#p16914"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16914#p16914"><![CDATA[
Your welcome. If there is something else you want help on, just ask.. <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=187">caesar</a> — Sat Feb 22, 2003 5:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Insectora]]></name></author>
		<updated>2003-02-22T05:13:39-04:00</updated>

		<published>2003-02-22T05:13:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16911#p16911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16911#p16911"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16911#p16911"><![CDATA[
Thank you a lot caesar !!! Thank you all guys:))<br>The script now is really good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">) You are the best <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)<br>you know everything about scripts.And it is good for helping people . I hope Someday i will help people, when i learn the TCl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)))<br>For now i am only training with the scripts:)))<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2732">Insectora</a> — Sat Feb 22, 2003 5:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-21T17:26:03-04:00</updated>

		<published>2003-02-21T17:26:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16894#p16894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16894#p16894"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16894#p16894"><![CDATA[
It seems that I'm placing it where is no need of it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>replace<div class="codebox"><p>Code: </p><pre><code>if {$who == [tolower $botnick] || ![isop $who $chan] || [validuser [nick2hand $who $chan]]} { continue } </code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>if {$who == $botnick || ![isop $who $chan] || [validuser [nick2hand $who $chan]]} { continue } </code></pre></div>And should work fine. Damn 'tolower' <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=187">caesar</a> — Fri Feb 21, 2003 5:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-21T15:40:48-04:00</updated>

		<published>2003-02-21T15:40:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16889#p16889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16889#p16889"/>
		<title type="html"><![CDATA[hihi]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16889#p16889"><![CDATA[
he seems to be in love with tolower, just dont tolower the botnick, not neccerary in this case again and making only troubles <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=2382">De Kus</a> — Fri Feb 21, 2003 3:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Insectora]]></name></author>
		<updated>2003-02-21T15:27:36-04:00</updated>

		<published>2003-02-21T15:27:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16888#p16888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16888#p16888"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16888#p16888"><![CDATA[
Caesar<br>sorry but your scripts is not good:(<br>After i raplace the new code, and i wrote .masskick, <br>the bot first kick itself:((<br>So please fix the script again:)))))))))))))))))<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2732">Insectora</a> — Fri Feb 21, 2003 3:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-21T11:24:17-04:00</updated>

		<published>2003-02-21T11:24:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16881#p16881</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16881#p16881"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16881#p16881"><![CDATA[
Oups..  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> .. seems that I've forgot a word <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>replace:<div class="codebox"><p>Code: </p><pre><code>  set chan [tolower [lindex $text 0]] </code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>  set chan [string tolower [lindex $text 0]]</code></pre></div>My appologies..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 21, 2003 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Insectora]]></name></author>
		<updated>2003-02-21T09:23:24-04:00</updated>

		<published>2003-02-21T09:23:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16879#p16879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16879#p16879"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16879#p16879"><![CDATA[
De kus<br>Sorry but this is not a takeover script. I am not going to TO chanels with this bot. I only want kick all users in my channel if there are takeovers and inviters. my chanel is very small , and the other chaters are not going to be angry , because the are my friends:))) thats all<br>And I only asked for a help to work good this script:))<br>ok??:))))))<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2732">Insectora</a> — Fri Feb 21, 2003 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Insectora]]></name></author>
		<updated>2003-02-21T09:17:49-04:00</updated>

		<published>2003-02-21T09:17:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16877#p16877</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16877#p16877"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16877#p16877"><![CDATA[
Mmm yes the mistake was the "string"<br>But after i run the new script , it doesnt work well <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad">((<br>Any other suggestions ?? Any other new scripts??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2732">Insectora</a> — Fri Feb 21, 2003 9:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-21T09:14:47-04:00</updated>

		<published>2003-02-21T09:14:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16876#p16876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16876#p16876"/>
		<title type="html"><![CDATA[only because i am curious]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16876#p16876"><![CDATA[
but why the hell do you need a <strong class="text-strong">takeover</strong> script, like you called it yourself?<blockquote class="uncited"><div>putdcc $idx "TaKeOvEr 1.0 by SaVeR"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Feb 21, 2003 9:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-02-21T06:48:25-04:00</updated>

		<published>2003-02-21T06:48:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16873#p16873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16873#p16873"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16873#p16873"><![CDATA[
should be <span style="text-decoration:underline">[string tolower .....</span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Feb 21, 2003 6:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Insectora]]></name></author>
		<updated>2003-02-21T06:20:10-04:00</updated>

		<published>2003-02-21T06:20:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16871#p16871</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16871#p16871"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16871#p16871"><![CDATA[
Yes you forgot something <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">))<br>The script you posted is not working:)))<br>You should fix the script:)))<br>I copy and paste your script but... here is what the bot console wrote :<br> TCL error [dcc_massdeop]: invalid command name "tolower"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2732">Insectora</a> — Fri Feb 21, 2003 6:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-21T06:03:25-04:00</updated>

		<published>2003-02-21T06:03:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16869#p16869</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16869#p16869"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16869#p16869"><![CDATA[
I've took the liberty to modify a bit your second code and here is the result:<br><div class="codebox"><p>Code: </p><pre><code>proc dcc_masskick {nick idx text} {   global botnick   if {![llength $text] &gt; 0} {    putdcc $idx "Usage: .masskick &lt;#channel&gt; - To MassKick Users"     return 1  }   set chan [tolower [lindex $text 0]]  if {![botisop $chan]} {    putdcc $idx "Sorry, but I'm not oped in $chan channel.."     return 1  }  set members [chanlist $chan]   foreach who $members {     if {$who == [tolower $botnick] || [validuser [nick2hand $who $chan]]} { continue }    putkick $chan $who "Mass Kick"   } }proc dcc_massdeop {nick idx text} {   global botnick  if {![llength $text] &gt; 0} {    putdcc $idx "TaKeOvEr 1.0 by SaVeR"     putdcc $idx "Usage: .masskick &lt;#channel&gt; - To MassKick Users"     return 1  }   set chan [tolower [lindex $text 0]]  if {![botisop $chan]} {    putdcc $idx "Sorry, but I'm not oped in $chan channel.."     return 1  }  set members [chanlist $chan]   foreach who $members {     if {$who == [tolower $botnick] || ![isop $who $chan] || [validuser [nick2hand $who $chan]]} { continue }    pushmode $chan -o $who    putlog "#$nick# massdeop"   } }</code></pre></div>Hope I haven't forgot something.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 21, 2003 6:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-21T05:50:56-04:00</updated>

		<published>2003-02-21T05:50:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16868#p16868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16868#p16868"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16868#p16868"><![CDATA[
First thing first, read the things that we discussed in your prevoius post about that code and do the necesarly changes to this one..<br><br>Also:<br><br>1. Don't use $arg, use $text.<br>2. A fix for the foreach thing:<br><div class="codebox"><p>Code: </p><pre><code>set chan [string tolower [lindex $text 0]]foreach who $members {   if {[validuser [nick2hand $who $chan]]} { continue }  .. rest of the code ..}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 21, 2003 5:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Insectora]]></name></author>
		<updated>2003-02-21T05:33:33-04:00</updated>

		<published>2003-02-21T05:33:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16865#p16865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16865#p16865"/>
		<title type="html"><![CDATA[Help me with editing this (Part 2 :))]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16865#p16865"><![CDATA[
hehe thank you a lot in editing the previous script <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)<br>Now this is my second problem with scripts <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)<br>This is a chalenge for you <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">))<br><br>In this scripts When i write .masskick in DCC to kick all chaters in my Chanel, the bot kicks also and Me:(  I don't want to kick me with the others chaters <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">) Help !! to editing the script !!!<br><br>Here is the script :<br><br>proc dcc_masskick {nick idx arg} {<br>  global botnick<br>  if {$arg== ""} {<br>     putdcc $idx "  masskick &lt;#channel&gt; - To MassKick Users"<br>     return 1<br>  }<br>set members [chanlist $arg]<br>foreach who $members {<br>    if {![onchansplit $who $arg] &amp;&amp; $who != $botnick &amp;&amp; $who != $nick} {<br>putserv "KICK $arg $who :Mass Kick"<br>}}<br>}<br><br><br>The second Scripts that make anger <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>When i write .massdeop in DCC to deop all chaters in my Chanel, the bot deops also and  Me:(  I don't want to deop me with the others chaters <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">) Help !! to editing the script !!! Thank you in advance <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">) I know You are the best programers <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)))<br><br>Here is the second script . <br><br>proc dcc_massdeop {nick idx arg} {<br>  global botnick mass<br>  if {$arg== ""} {<br>     putdcc $idx "TaKeOvEr 1.0 by SaVeR"<br>     putdcc $idx "    massdeop &lt;#channel&gt; - To MassDEOP Users"<br>     return 1<br>  }<br>  if {$mass==1} {<br>  set deopnicks ""<br>  set massdeopz 0<br>  set members [chanlist $arg]<br>  foreach who $members {<br>    if {[isop $who $arg] &amp;&amp; ![onchansplit $who $arg] &amp;&amp; $who != $botnick &amp;&amp; $who != $nick} {<br>if {$massdeopz &lt; 4} {<br>append deopnicks " $who"<br>set massdeopz [expr $massdeopz + 1]<br>}<br>if {$massdeopz == 4} {<br>set massdeopz 0<br>putdcc $idx "*** Mode $arg -oooo $deopnicks"<br>putserv "MODE $arg -oooo $deopnicks"<br>set deopnicks ""<br>append deopnicks " $who"<br>set massdeopz 1<br>}<br>  }<br>  }<br>putserv "MODE $arg -oooo $deopnicks"<br>putdcc $idx "*** Mode $arg -oooo $deopnicks (Last Few)"<br>putlog "#$nick# massdeop"<br>}<br>}<br><br>Please after edit the scripts, post them here in the forum the new script, so i copy and paste them in my tcl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">))) Thank yo a lot <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">)))<br>I dont understand  to edit and to make tcl, but am learning at the moment <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=2732">Insectora</a> — Fri Feb 21, 2003 5:33 am</p><hr />
]]></content>
	</entry>
	</feed>
