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

	<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>2005-11-11T20:42:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-11-11T20:42:55-04:00</updated>

		<published>2005-11-11T20:42:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57339#p57339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57339#p57339"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57339#p57339"><![CDATA[
thanx Sir_Fz thats a great help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Fri Nov 11, 2005 8:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-11-11T00:25:58-04:00</updated>

		<published>2005-11-11T00:25:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57315#p57315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57315#p57315"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57315#p57315"><![CDATA[
An old but very true saying:<br><br>"Self praise is no praise at all."<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Nov 11, 2005 12:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-11-10T23:31:20-04:00</updated>

		<published>2005-11-10T23:31:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57313#p57313</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57313#p57313"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57313#p57313"><![CDATA[
<blockquote class="uncited"><div>Blowing our own trumpet demond?</div></blockquote>apparently yes; that being said, I would't hesitate to recommend any other script or module, mine or not, which is among the best (or IS the best) in its category: netbots, sentinel, botnetop, gseen, stats.mod, megahal, the most popular web scripts for google, tv, weather, etc.<br><br>so, what seems to you as vanity is actually simply an opinion that people should use and learn from the best, instead of wasting their time with fixing inherently inferior scripts (and you can't possibly argue that xchannel doesn't deserve its place among the best)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Thu Nov 10, 2005 11:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-10T19:32:43-04:00</updated>

		<published>2005-11-10T19:32:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57299#p57299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57299#p57299"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57299#p57299"><![CDATA[
<blockquote class="uncited"><div>The script already exempts +f and +o users, so what you need to do drfox is to add a handle such as <strong class="text-strong">friends</strong> and give it the +f flag then simply add all hosts to this handle instead of adding a handle for each nick.</div></blockquote>That means:<blockquote class="uncited"><div>.+user friends<br>.chattr friends +f<br>.chpass friends sdkfjsdfksjfsj</div></blockquote>and then simply to exempt someone use:<blockquote class="uncited"><div>.+host friends *!*@*FC4F3BA9.5F70542C.B5943CF.IP</div></blockquote>Handle character limit will not be a problem in this case.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 10, 2005 7:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[]Kami[]]></name></author>
		<updated>2005-11-10T15:31:20-04:00</updated>

		<published>2005-11-10T15:31:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57289#p57289</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57289#p57289"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57289#p57289"><![CDATA[
They because handle lenght limit in eggdrop.h<br><br>Search this forum for "handle lenght"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3559">]Kami[</a> — Thu Nov 10, 2005 3:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-11-10T14:53:50-04:00</updated>

		<published>2005-11-10T14:53:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57287#p57287</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57287#p57287"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57287#p57287"><![CDATA[
but the prob is i carnt add the full nick to the bots user list and when i give the nick a +o flag because the full nick is not added it dont work<br><br>[6:48pm] &lt;04Dr-Fox&gt; .+user doom-master *!@*FC4F3BA9.5F70542C.B5943CF.IP <br>[6:48pm] &lt;Fox-Help&gt; [03:55] #Dr-Fox# +user doom-mast *!@*FC4F3BA9.5F70542C.B5943CF.IP <br>[6:48pm] &lt;Fox-Help&gt; Added doom-mast (*!@*FC4F3BA9.5F70542C.B5943CF.IP) <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Thu Nov 10, 2005 2:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-10T14:37:11-04:00</updated>

		<published>2005-11-10T14:37:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57285#p57285</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57285#p57285"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57285#p57285"><![CDATA[
You don't need to add anything into it, +o and +f are already exempted.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 10, 2005 2:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-11-10T14:49:52-04:00</updated>

		<published>2005-11-10T14:31:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57284#p57284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57284#p57284"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57284#p57284"><![CDATA[
ok i did that and rehashed it but it still banns that nick and i carnt add it to the bots user list because it wont let me add the full nick every time i try it leves off any letters above 9 <br><br>example doom-master<br><br>if i add that it only comes up as below<br><br>[6:48pm] &lt;04Dr-Fox&gt; .+user doom-master *!@*FC4F3BA9.5F70542C.B5943CF.IP<br>[6:48pm] &lt;Fox-Help&gt; [03:55] #Dr-Fox# +user doom-mast *!@*FC4F3BA9.5F70542C.B5943CF.IP<br>[6:48pm] &lt;Fox-Help&gt; Added doom-mast (*!@*FC4F3BA9.5F70542C.B5943CF.IP) <br><br>only the nick doom-mast is added so it still bans doom-master<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Thu Nov 10, 2005 2:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-11-10T05:24:08-04:00</updated>

		<published>2005-11-10T05:24:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57272#p57272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57272#p57272"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57272#p57272"><![CDATA[
The script already exempts +f and +o users, so what you need to do drfox is to add a handle such as <strong class="text-strong">friends</strong> and give it the +f flag then simply add all hosts to this handle instead of adding a handle for each nick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Nov 10, 2005 5:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2005-11-09T20:43:20-04:00</updated>

		<published>2005-11-09T20:43:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57252#p57252</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57252#p57252"/>
		<title type="html"><![CDATA[adding exempted hosts]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57252#p57252"><![CDATA[
using the code I gave you will exempt any person in the bot's userlist that is set as a global op, voice, friend, or as a channel op, voice, friend<br><br>easy enough to add hostmasks to bot users<br><br>edit the script's code and insert:<div class="codebox"><p>Code: </p><pre><code>if [matchattr $hand ovf|ovf $chan] return</code></pre></div>where shown in my prior post<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Wed Nov 09, 2005 8:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-11-09T19:30:31-04:00</updated>

		<published>2005-11-09T19:30:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57248#p57248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57248#p57248"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57248#p57248"><![CDATA[
yeah thanx guys but the reason i need to add a list of host for it to ignore<br>is because if i add a nick to the bot as a user it wont allow nicks over 9 letters <br><br>example silver-man becomes silver-ma when added <br><br>so if the script could be altered so allow me to add hosts for it to ignore<br>that would be great<br><br>thanx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Wed Nov 09, 2005 7:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-11-09T10:41:07-04:00</updated>

		<published>2005-11-09T10:41:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57228#p57228</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57228#p57228"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57228#p57228"><![CDATA[
Blowing our own trumpet demond?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Nov 09, 2005 10:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-11-09T02:08:03-04:00</updated>

		<published>2005-11-09T02:08:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57205#p57205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57205#p57205"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57205#p57205"><![CDATA[
I wonder when will people get to the inevitable conclusion that universal <a href="http://demond.net/xchannel.tcl" class="postlink">xchannel.tcl</a> is much better than zillions of naive scripts like this, does all the stuff they do, and more<br><br>I've said it in the past, I'll repeat it again: The Tcl Archive needs some sort of fair rating system, so people won't waste their time with lame scripts and go directly for the best<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Nov 09, 2005 2:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2005-11-08T22:41:13-04:00</updated>

		<published>2005-11-08T22:41:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57194#p57194</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57194#p57194"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57194#p57194"><![CDATA[
the following should exempt bot users marked as operators, voice, or friends from the check:<br><div class="codebox"><p>Code: </p><pre><code>proc filter_bad_nicks {nick uhost hand channel} { global badnicks badnickreason banmask botnick bnduration  set handle [nick2hand $nick]   if [matchattr $hand ovf|ovf $chan] return    set banmask "*$nick*!*@*"</code></pre></div><div class="codebox"><p>Code: </p><pre><code>proc filter_bad_nicks_change {nick uhost hand channel newnick} { global badnicks badnickreason banmask botnick  set handle [nick2hand $newnick]   if [matchattr $hand ovf|ovf $chan] return    set banmask "*$newnick*!*@*" </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Tue Nov 08, 2005 10:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-11-08T20:46:20-04:00</updated>

		<published>2005-11-08T20:46:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=57191#p57191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=57191#p57191"/>
		<title type="html"><![CDATA[help please]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=57191#p57191"><![CDATA[
hi is there a way of adapting this so i can add a list of host addresses to the script so it ignores then if they do a nick change.<br>thanx<br><div class="codebox"><p>Code: </p><pre><code>### Introduction# Anti Bad-Nick Script# SadSalman &lt;-&gt; salman.mehmood@gmail.com# Version No: 0.2### Features:# * Sets a 2 Minute Channel ban on user who writes any of the#   defined bad words# * Doesn't ban users with +o OR +f flags# * Logs ALL user/op messages containing the defined words# * Strips Character Codes from Messages### Set Bad Words that you want the Bot to Kick onset badnicks { "Fox""fox"}### Set Your Ban Reasonset badnickreason "Bad Nick, Please change it and rejoin"### Set Ban Timeset bnduration 24h### Begin Script:## (Don't change anything below here... Unless you know tcl)## Binding all joins to our Processbind join - * filter_bad_nicksbind nick - * filter_bad_nicks_change## Starting Processproc filter_bad_nicks {nick uhost hand channel} { global badnicks badnickreason banmask botnick bnduration  set handle [nick2hand $nick]   set banmask "*$nick*!*@*" foreach badnick [string tolower $badnicks] {     if {[string match *$badnick* [string tolower $nick]]}  {       if {[matchattr $handle +f]} {           putlog "-Anti Bad Nick Script- $nick ($handle) with +f joined $channel"       } elseif {[matchattr $handle +o]} {           putlog "-Anti Bad Nick Script- $nick ($handle) with +o flags joined $channel"       } else {           putlog "-Anti Bad Nick Script- KICKED $nick on $channel"           putquick "KICK $channel $nick :$badnickreason"           newchanban $channel $banmask $botnick $badnickreason $bnduration       }    }  }}## Starting Processproc filter_bad_nicks_change {nick uhost hand channel newnick} { global badnicks badnickreason banmask botnick  set handle [nick2hand $newnick]   set banmask "*$newnick*!*@*"    set duration 10mforeach badnick [string tolower $badnicks] {     if {[string match *$badnick* [string tolower $newnick]]}  {       if {[matchattr $handle +f]} {           putlog "-Anti Bad Nick Script- $nick ($handle) with +f changed nickname to $newnick on $channel"       } elseif {[matchattr $handle +o]} {           putlog "-Anti Bad Nick Script- $nick ($handle) with +o flags changed nickname to $newnick on $channel"       } else {           putlog "-Anti Bad Nick Script- KICKED $newnick on $channel"           putquick "KICK $channel $newnick :$badnickreason"           newchanban $channel $banmask $botnick $badnickreason 2m       }    }  }}bind join - * filter_bad_nicksbind nick - * filter_bad_nicks_changeputlog "SadSalman's Anti Bad Nick Script Loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Tue Nov 08, 2005 8:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
