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

	<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-06-22T17:19:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-06-22T17:19:11-04:00</updated>

		<published>2003-06-22T17:19:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22411#p22411</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22411#p22411"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22411#p22411"><![CDATA[
caesar, thank you so much.<br><br>just one last question<br>newchanban $chan "[maskhost [getchanhost $newnick $chan]]" $botnick "$friends(reason)" $friends(bantime)<br><br>is "" are required around the-&gt; "[maskhost [getchanhost $newnick $chan]]"  and -&gt;  "$friends(reason)" <br><br>THANKS again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sun Jun 22, 2003 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-22T02:19:13-04:00</updated>

		<published>2003-06-22T02:19:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22355#p22355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22355#p22355"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22355#p22355"><![CDATA[
Oups.. yup.. a bad day.. Replace from:<div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $newnick]] || [validuser $newnick]} { continue }</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $newnick]] || [validuser $hand]} { continue }</code></pre></div>my appologies for that.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> The banmask is *!?ident@*.host if you have in the .conf file strict-host set to 1 and *!ident@*.host if is set to 0.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jun 22, 2003 2:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-06-22T01:15:04-04:00</updated>

		<published>2003-06-22T01:15:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22354#p22354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22354#p22354"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22354#p22354"><![CDATA[
Thanks Caesar!<br>but the following are the same....<br>Also, in the nick proc replace from: <br>Code: <br><div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $newnick]] || [validuser $newnick]} { continue }  </code></pre></div>to: <br>Code: <br><div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $newnick]] || [validuser $newnick]} { continue }  </code></pre></div><br><br><br><br><br>how do i fix this banmask so it can ban in this format, *!*ident@*.aol.com, if server ident is enable or not, like if user has an ident <br><a href="mailto:hello@aol.com">hello@aol.com</a> or ~<a href="mailto:hello@aol.com">hello@aol.com</a>, so in both cases it should ban *!*hello@*.aol.com<div class="codebox"><p>Code: </p><pre><code>set mask [lindex [split [maskhost [getchanhost $nick $channel]] ~] end] </code></pre></div><br>thank you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sun Jun 22, 2003 1:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-22T00:31:36-04:00</updated>

		<published>2003-06-22T00:31:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22347#p22347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22347#p22347"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22347#p22347"><![CDATA[
Oups, noticed a bug <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> In the join proc replace from:<div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $nick]] || [validuser $nick]} { continue }</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $nick]] || [validuser $hand]} { continue }</code></pre></div>Also, in the nick proc replace from:<div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $newnick]] || [validuser $newnick]} { continue }</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>if {![string match "$friend" [string tolower $newnick]] || [validuser $newnick]} { continue }</code></pre></div>and should be working now if someone uses a "protected" nick from the list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jun 22, 2003 12:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-06-21T21:40:03-04:00</updated>

		<published>2003-06-21T21:40:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22344#p22344</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22344#p22344"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22344#p22344"><![CDATA[
Hi Caesar,<br><br>set friends(list) {foo bar} <br><br>i was wondering how this will work if let say "foo" is in bots userlist and some user join the channel and not in bots userlist, so bot should kick that user that "foo" is in bots userlist...<br><br>right now if "foo" is NOT in bots userlist, and someone use "foo", then it kick/ban<br><br>how do i fix this, if person is known to the bot, and some user join the channel or chnage the nick to that bot's known user, and kickban that user...that don't use bot's known users nicks...<br><br>advance thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Sat Jun 21, 2003 9:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-03-14T03:49:37-04:00</updated>

		<published>2003-03-14T03:49:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17846#p17846</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17846#p17846"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17846#p17846"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># settingsset friends(list) {foo bar}set friends(reason) "Protected nick!"set friends(bantime) 1 # bindsbind join - * friends:joinbind nick * * friends:nickproc friends:join {nick host hand chan} {   global botnick friends  foreach friend [split [string tolower $friends(list)]] {    if {![string match "$friend" [string tolower $nick]] || [validuser $nick]} { continue }    newchanban $chan [maskhost $host] $botnick "$friends(reason)" $friends(bantime)    putkick $chan $nick   }}proc friends:nick {nick uhost hand chan newnick} {  global botnick friends  foreach friend [split [string tolower $friends(list)]] {    if {![string match "$friend" [string tolower $newnick]] || [validuser $newnick]} { continue }    newchanban $chan [maskhost [getchanhost $newnick $chan]]" $botnick "$friends(reason)" $friends(bantime)    putkick $chan $newnick   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Mar 14, 2003 3:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-03-14T03:32:55-04:00</updated>

		<published>2003-03-14T03:32:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17845#p17845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17845#p17845"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17845#p17845"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set tempbantime 1bind join - * ban_protectednicksproc ban_protectednicks {nick host hand chan} {  global botnick tempbantime  if {[validuser $nick]} {    newchanban $chan [maskhost $host] $botnick "Protected nick" $tempbantime    putkick $chan $nick  }}</code></pre></div>^^untested <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=852">Papillon</a> — Fri Mar 14, 2003 3:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-03-13T22:06:45-04:00</updated>

		<published>2003-03-13T22:06:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17843#p17843</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17843#p17843"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17843#p17843"><![CDATA[
i`m trying once again <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>is it possible to make the eggdrop tempban people who join a channel and his nick matches a nick in the userlist of the eggdrop<br><br>i.e. to protect in a specified channel the nicknames of the user of the egg<br><br>Thanks<br><br>Pitchat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Thu Mar 13, 2003 10:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Pitchat]]></name></author>
		<updated>2003-03-12T14:13:30-04:00</updated>

		<published>2003-03-12T14:13:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=17786#p17786</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=17786#p17786"/>
		<title type="html"><![CDATA[protect nicks]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=17786#p17786"><![CDATA[
Hi , i`d like to know how to make a tcl who will prevent people to join in my channel with a nick who match one of the nicks include in the userlist<br>(to protect my users nicknames) with a message like you havea protected handle please change nick and rejoin.<br><br>i try to do it but i mess up badly so i`m begging here <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2723">Pitchat</a> — Wed Mar 12, 2003 2:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
