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

	<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>2008-02-24T19:56:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-02-24T19:56:00-04:00</updated>

		<published>2008-02-24T19:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81141#p81141</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81141#p81141"/>
		<title type="html"><![CDATA[another little help :$]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81141#p81141"><![CDATA[
Replace<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG X :ban $chan $nick 1 100 $reason"</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>putserv "PRIVMSG X :ban $chan *!*@[lindex [split $uhost @] 1] 1 100 $reason"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Feb 24, 2008 7:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fiby]]></name></author>
		<updated>2008-02-24T19:23:51-04:00</updated>

		<published>2008-02-24T19:23:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81136#p81136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81136#p81136"/>
		<title type="html"><![CDATA[another little help :$]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81136#p81136"><![CDATA[
mmm ok  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><br>so this is the first code:<br><div class="codebox"><p>Code: </p><pre><code>set reason "(Drone) mIRC Infectado. Entre a #dmsetup y Solicite Ayuda &amp; Luego entre a #unban y pida unban"bind join - * NickBanSpambotsproc NickBanSpambots {nick uhost hand chan} {global reasonif {[regexp {^(?!.*[@.]undernet\.org$)(?:A(?:ldora|lysia|morita|nemona|nita|pril|ra|retina)|     B(?:arbra|ella|ettina|lenda|riana|ianca|ridget)|     C(?:amille|ara|arla|armen|helsea|larissa)|     D(?:amita|anielle|aria|iana|onna|ora|oris)|     E(?:bony|den|liza|mily|rin|ve|velyn)|Faith|     G(?:ale|ilda|loria)|H(?:aley|elga|olly)|     I(?:da|dona|ris|sabel|vana|vory)|     J(?:anet|ewel|oanna|ulie|uliet)|     K(?:acey|ali|ara|assia|atie|atrina|yle)|     L(?:ara|aura|inda|ola|olita|ynn)|     M(?:aia|aria|ary|eggie|ilenia|imi|yra)|     N(?:adia|aomi|atalie|icole|ina|ova)|     O(?:ana|lga|livia)|Peggy|Queen|R(?:ae|aquel|ita|osa)|     S(?:haron|ilver)|Tara|U(?:la|ma)|     V(?:alda|alora|anessa|icky|iolet)|X(?:enia|ylia)|     Z(?:enia|ilya|oe))[1-4]\d!} "$nick!$uhost"]} {putserv "PRIVMSG X :ban $chan $nick 1 100 $reason"}}</code></pre></div>this code work good. but when join a nick spammer, put this ban (*!*id@*.domain) in X.<br><br>so i want that my eggdrop put this type of ban: (*!*@host.domain)<br>and add this IP to internal permban of my eggdrop.<br><br>can make  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><br>please  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br><br><span style="color:red"><span style="font-size:75%;line-height:116%">Edit: Wrapped code. (Sir_Fz)</span></span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9736">Fiby</a> — Sun Feb 24, 2008 7:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-02-24T18:48:03-04:00</updated>

		<published>2008-02-24T18:48:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81134#p81134</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81134#p81134"/>
		<title type="html"><![CDATA[another little help :$]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81134#p81134"><![CDATA[
The arguments for NickBanSpambots does not match the binding (join):<blockquote class="uncited"><div>    (8)  JOIN (stackable)<br>         bind join &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt;<br><br>         Description: triggered by someone joining the channel. The mask in<br>           the bind is matched against "#channel nick!user@host" and can<br>           contain wildcards.<br>         Module: irc</div></blockquote>In this case, there is no text-parameter, which makes sense since you cannot send a message with your join...<br>Even so, NickBanSpambots uses $text to retrieve various information.<br>To be honest, I'm having a hard time trying to figure out what this piece of code is supposed to accomplish.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Feb 24, 2008 6:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fiby]]></name></author>
		<updated>2008-02-24T18:40:03-04:00</updated>

		<published>2008-02-24T18:40:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81133#p81133</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81133#p81133"/>
		<title type="html"><![CDATA[another little help :$]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81133#p81133"><![CDATA[
i can't undernstand, don't speaker engish, you can paste the code?<br>how should be?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br><br>I have put it<br><div class="codebox"><p>Code: </p><pre><code>set spreason "(Drone) mIRC Infectado. Entre a #dmsetup y Solicite Ayuda &amp; Luego entre a #unban y pida unban"bind join - * NickBanSpambotsproc NickBanSpambots {nick uhost hand chan text} {global spreasonif {[regexp {^(?!.*[@.]undernet\.org$)(?:A(?:ldora|lysia|morita|nemona|nita|pril|ra|retina)|     B(?:arbra|ella|ettina|lenda|riana|ianca|ridget)|     C(?:amille|ara|arla|armen|helsea|larissa)|     D(?:amita|anielle|aria|iana|onna|ora|oris)|     E(?:bony|den|liza|mily|rin|ve|velyn)|Faith|     G(?:ale|ilda|loria)|H(?:aley|elga|olly)|     I(?:da|dona|ris|sabel|vana|vory)|     J(?:anet|ewel|oanna|ulie|uliet)|     K(?:acey|ali|ara|assia|atie|atrina|yle)|     L(?:ara|aura|inda|ola|olita|ynn)|     M(?:aia|aria|ary|eggie|ilenia|imi|yra)|     N(?:adia|aomi|atalie|icole|ina|ova)|     O(?:ana|lga|livia)|Peggy|Queen|     R(?:ae|aquel|ita|osa)|S(?:haron|ilver)|Tara|     U(?:la|ma)|V(?:alda|alora|anessa|icky|iolet)|     X(?:enia|ylia)|Z(?:enia|ilya|oe))[1-4]\d!} "$nick!$uhost"]} {        set bsnick [lindex $text 0]        if {[string length [lindex $text 1]] == 0} { set reason $::spreason } else { set reason [lrange $text 1 end] }set bspamnick *!*@[lindex [split [getchanhost $tnick $chan] @] 1]newchanban $chan *!*@[lindex [split [getchanhost $tnick $chan] @] 1] Spambot $reason 0putserv "KICK $chan $bsnick :Ban: $reason"putserv "PRIVMSG X :ban $chan $bspamnick 1 100 $reason"}}</code></pre></div>and the code error in the partyline get me this<br><div class="codebox"><p>Code: </p><pre><code>&lt;)EggFiby&gt; [23:36] Tcl error [NickBanSpambots]: wrong # args: should be "NickBanSpambots nick uhost hand chan text"&lt;Mayreta&gt; .set errorInfo&lt;)EggFiby&gt; Currently: wrong # args: should be "NickBanSpambots nick uhost hand chan text"&lt;)EggFiby&gt; Currently:     while executing&lt;)EggFiby&gt; Currently: "NickBanSpambots $_jp1 $_jp2 $_jp3 $_jp4"</code></pre></div>and in my chan put this type of ban in X ( *!*Myraxipy@211.186.234.* ) but don't put chan ban.<br><div class="codebox"><p>Code: </p><pre><code>*** Naomi29 ( Myraxipy@211.186.234.39 ) Entra al Canal #mychan* X pone modo: +b *!*Myraxipy@211.186.234.** Naomi29 ha sido KICKEADO por X ((EggFiby) (Drone) mIRC Infectado. Entre a #dmsetup y Solicite Ayuda &amp; Luego entre a #unban y pida unban)</code></pre></div><br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> snif<br><br><span style="color:red"><span style="font-size:75%;line-height:116%">Edit: Wrapped code. (Sir_Fz)</span></span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9736">Fiby</a> — Sun Feb 24, 2008 6:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-02-24T17:56:34-04:00</updated>

		<published>2008-02-24T17:56:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81130#p81130</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81130#p81130"/>
		<title type="html"><![CDATA[another little help :$]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81130#p81130"><![CDATA[
Any error messages or such would be helpful.<br><br>However, one thing that stands out instantly, is that you define <em class="text-italics">spreason</em> in globalspace, but try to access it as a local variable within <em class="text-italics">NickBanSpambots</em>. You also define <em class="text-italics">reason</em> as a globally accessed variable within the same proc, yet it does not appear to be used outside the proc.<br><br>You should either add <em class="text-italics">spreason</em> to the global-definition within <em class="text-italics">NickBanSpambots</em>, or access it as <em class="text-italics">::spreason</em> (or <em class="text-italics">$::spreason</em>)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Feb 24, 2008 5:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fiby]]></name></author>
		<updated>2008-02-24T17:35:20-04:00</updated>

		<published>2008-02-24T17:35:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81129#p81129</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81129#p81129"/>
		<title type="html"><![CDATA[another little help :$]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81129#p81129"><![CDATA[
Hi <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br>i want with this script, when the nick spammer join in my channel, put permban in the banlist in my eggdrop, and too put ban in X for 1 hour.<br>but i want this type of ban in X and banlist.<br><br>*!*@host.domain<br><br>so, i compile this code, but don't run <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><div class="codebox"><p>Code: </p><pre><code>set spreason "(Drone) mIRC Infectado. Entre a #dmsetup y Solicite Ayuda &amp; Luego entre a #unban y pida unban"bind join - * NickBanSpambotsproc NickBanSpambots {nick uhost hand chan text} {global spambot reasonif {[regexp {^(?!.*[@.]undernet\.org$)(?:A(?:ldora|lysia|morita|nemona|nita|pril|ra|retina)|     B(?:arbra|ella|ettina|lenda|riana|ianca|ridget)|     C(?:amille|ara|arla|armen|helsea|larissa)|     D(?:amita|anielle|aria|iana|onna|ora|oris)|     E(?:bony|den|liza|mily|rin|ve|velyn)|Faith|     G(?:ale|ilda|loria)|H(?:aley|elga|olly)|     I(?:da|dona|ris|sabel|vana|vory)|     J(?:anet|ewel|oanna|ulie|uliet)|     K(?:acey|ali|ara|assia|atie|atrina|yle)|     L(?:ara|aura|inda|ola|olita|ynn)|     M(?:aia|aria|ary|eggie|ilenia|imi|yra)|     N(?:adia|aomi|atalie|icole|ina|ova)|     O(?:ana|lga|livia)|Peggy|Queen|     R(?:ae|aquel|ita|osa)|S(?:haron|ilver)|Tara|     U(?:la|ma)|V(?:alda|alora|anessa|icky|iolet)|     X(?:enia|ylia)|Z(?:enia|ilya|oe))[1-4]\d!} "$nick!$uhost"]} {        set bsnick [lindex $text 0]        if {[string length [lindex $text 1]] == 0} { set reason $spreason } else { set reason [lrange $text 1 end] }set bspamnick *!*@[lindex [split [getchanhost $tnick $chan] @] 1]newchanban $chan *!*@[lindex [split [getchanhost $tnick $chan] @] 1] $nick $reason 0putserv "KICK $chan $bsnick :Ban: $reason"putserv "PRIVMSG X :ban $chan $bspamnick 1 100 $reason"}}</code></pre></div> <br><br>can get me a hand ?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br><br><span style="color:red"><span style="font-size:75%;line-height:116%">Edit: Wrapped code. (Sir_Fz)</span></span><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9736">Fiby</a> — Sun Feb 24, 2008 5:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
