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

	<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-03-21T18:15:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Mackenzie]]></name></author>
		<updated>2003-03-21T18:15:51-04:00</updated>

		<published>2003-03-21T18:15:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18095#p18095</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18095#p18095"/>
		<title type="html"><![CDATA[Almost a good script --&gt; Badnick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18095#p18095"><![CDATA[
Papillon....<br><br>that works PERFECT  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"> <br><br>manny tnx again for your help<br><br>that's what i call a little effective badnick.tcl<br>tnx mate <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1661">Mackenzie</a> — Fri Mar 21, 2003 6:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-03-21T13:03:50-04:00</updated>

		<published>2003-03-21T13:03:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18088#p18088</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18088#p18088"/>
		<title type="html"><![CDATA[Almost a good script --&gt; Badnick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18088#p18088"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind nick - * Detected_changebad bind join - * Detected_changebadproc Detected_changebad {nick uhost hand chan {newnick ""}} { global badnicks botnick if {$newnick == ""} { set newnick $nick }if {(![matchattr $hand b]) &amp;&amp; ($nick != $botnick)} {   foreach badchange [string tolower $badnicks] {    if {[string match *$badchange* [string tolower $newnick]]} {     set banmask "*!*[string range $uhost [string first "@" $uhost] end]"     putserv "MODE $chan +b $newnick"     putserv "KICK $chan $newnick :Ongepaste nick !!!"     return 0     }    } } } </code></pre></div>This should react on the "badnicks" entering the channel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Mar 21, 2003 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mackenzie]]></name></author>
		<updated>2003-03-21T11:52:09-04:00</updated>

		<published>2003-03-21T11:52:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18083#p18083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18083#p18083"/>
		<title type="html"><![CDATA[Almost a good script --&gt; Badnick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18083#p18083"><![CDATA[
<blockquote class="uncited"><div>tip: read the tcl-commands.doc about binds<br><blockquote class="uncited"><div>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></div></blockquote><br>tha'ts all sounds like Chinese  <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>I was lookin' these the tcl commands from eggdrop1.6.13...but i don't know how to start  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> <br><br>is there no possibility to put a code also at the above nickchange.tcl then?<br><br>and with that code who reconise and react on join with the same badnicklist?<br><br>i know i'm stupid in tcl writing <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1661">Mackenzie</a> — Fri Mar 21, 2003 11:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-03-21T10:51:07-04:00</updated>

		<published>2003-03-21T10:51:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18080#p18080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18080#p18080"/>
		<title type="html"><![CDATA[Almost a good script --&gt; Badnick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18080#p18080"><![CDATA[
tip: read the tcl-commands.doc about binds<br><blockquote class="uncited"><div>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><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Mar 21, 2003 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-03-21T10:38:12-04:00</updated>

		<published>2003-03-21T10:38:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18079#p18079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18079#p18079"/>
		<title type="html"><![CDATA[Re: Almost a good script --&gt; Badnick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18079#p18079"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>## Badnick scansset badnicks { "****" "*****"}</code></pre></div></div></blockquote>perhaps you should add some nicks here ^^ <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Fri Mar 21, 2003 10:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mackenzie]]></name></author>
		<updated>2003-03-21T10:02:06-04:00</updated>

		<published>2003-03-21T10:02:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18075#p18075</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18075#p18075"/>
		<title type="html"><![CDATA[Almost a good script --&gt; Badnick]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18075#p18075"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>## -----------------------------------------------------------------------##                        Change Badnick.TCL ver 1.0                                ## -----------------------------------------------------------------------## Badnick scansset badnicks { "[censored]" "[censored]*"}## ----------------------------------------------------------------## --- Don't change anything below here if you don't know how ! ---## ----------------------------------------------------------------        set arg.v "Change Badnick protection"bind nick - * Detected_changebadproc Detected_changebad {nick uhost hand chan newnick} { global badnicks botnick if {(![matchattr $hand b]) &amp;&amp; ($nick != $botnick)} {  foreach badchange [string tolower $badnicks] {   if {[string match *$badchange* [string tolower $newnick]]} {    set banmask "*!*[string range $uhost [string first "@" $uhost] end]"     putserv "MODE $chan +b $newnick"    putserv "KICK $chan $newnick :Ongepaste nick !!!"    return 0    }    } }}## -----------------------------------------------------------------------putlog "-=-=   PROTECTION  PROSES   =-=-=-=-=-"putlog "Protections change badnick Ver 1.0:"putlog "${arg.v} loaded Successfuly..."##------------------------------------------------------------------------##                      ***    E N D   OF  ChangeBadnick1.0.TCL ***## -----------------------------------------------------------------------</code></pre></div><br>this script works fine on a nick change...<br>but when somebody joins with a badnick it does nothing...<br><br>what code must be entered here to act also on a badnick join?<br>and ban the used badnick?<br><br>[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1661">Mackenzie</a> — Fri Mar 21, 2003 10:02 am</p><hr />
]]></content>
	</entry>
	</feed>
