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

	<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-19T06:13:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-19T06:13:41-04:00</updated>

		<published>2003-02-19T06:13:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16771#p16771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16771#p16771"/>
		<title type="html"><![CDATA[ever tried this...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16771#p16771"><![CDATA[
why not simply<br>set mask "*![getchanhost $bnick $channel]"<br>and if you want to kickban someone out, why dont use<br>newchanban $channel $mask insertscriptnamehere $reason<br>this will deop the user, create a ban (and put as much modes as posible into one line <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> ) and kick the user out with kick reason: "banned: reason"<br>note that the loaded channel langue will be used for banned for sure <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br>and yes, if the script is triggered by someone with a handle you can change the creator field to a variable containing this <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=2382">De Kus</a> — Wed Feb 19, 2003 6:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-02-17T12:29:46-04:00</updated>

		<published>2003-02-17T12:29:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16700#p16700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16700#p16700"/>
		<title type="html"><![CDATA[banmask...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16700#p16700"><![CDATA[
thanks casear, but it didn't solve my main problem<br>when user joins like one char ident -&gt; k@202.83.161.157<br><br>so this get ban -&gt; *!*@202.83.161.* which is a site ban ...i wanted to ban like whatever ident is, in this case -&gt; *!*k@202.83.161.157<br><br>these codes works fine if ident is more than 1 char/digit..<br>i'll apprecite if someone can help<br><br>note:bots dcc command .kickban also baning all single char/digit idents in this format   *!*@.. instead of *!*k@.. <br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Mon Feb 17, 2003 12:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-17T05:26:26-04:00</updated>

		<published>2003-02-17T05:26:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16690#p16690</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16690#p16690"/>
		<title type="html"><![CDATA[banmask...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16690#p16690"><![CDATA[
With this code <br><div class="codebox"><p>Code: </p><pre><code>set mask [lindex [split [maskhost [getchanhost $nick $channel]] ~] end]</code></pre></div>if 'he' has identd enabled the mask will be '*!m@*.aol.com' else will be '*!?m@*.aol.com'.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Feb 17, 2003 5:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-02-17T03:27:43-04:00</updated>

		<published>2003-02-17T03:27:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16688#p16688</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16688#p16688"/>
		<title type="html"><![CDATA[banmask...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16688#p16688"><![CDATA[
Hi, these few lines of codes works fine if ident is greater than one char or digit, but when ident is one char/digit like-&gt;    <a href="mailto:m@aol.com">m@aol.com</a>  or ~<a href="mailto:m@aol.com">m@aol.com</a>  then it bans-&gt;    *!*@*.aol.com<br><br>I want it to ban  *!*m@*.aol.com in both cases with or without ~<br>i'll apprecite for your help<br> set mask [getchanhost $bnick $channel]<br> if {$mask!={}} {<br> set mask [maskhost $mask]<br> set mask [string trimleft $mask *!]<br> set mask *!*$mask<br> if {[onchan $knick $channel]} { <br>     putserv "MODE $channel +b $mask"<br>     putserv "KICK $channel $knick :$reason" <br> }<br>}<br><br>thanks<br>regards<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Mon Feb 17, 2003 3:27 am</p><hr />
]]></content>
	</entry>
	</feed>
