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

	<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>2002-09-08T11:03:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-08T11:03:49-04:00</updated>

		<published>2002-09-08T11:03:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10655#p10655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10655#p10655"/>
		<title type="html"><![CDATA[banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10655#p10655"><![CDATA[
set banmask "*$nick*!*@*"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Sep 08, 2002 11:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sys]]></name></author>
		<updated>2002-09-08T10:40:21-04:00</updated>

		<published>2002-09-08T10:40:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10653#p10653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10653#p10653"/>
		<title type="html"><![CDATA[banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10653#p10653"><![CDATA[
code:<blockquote class="uncited"><div>set bn_bnicks {<br> "badnick1"<br>}<br><br>set bn_reason "Out"<br><br>proc BandNickjoin {nick uhost hand chan} {<br>  global botnick bn_bnicks bn_reason<br>    if {[string match *$jn* [string tolower $nick]]} {<br>    set banmask "*!*[string range $uhost [string first "@" $uhost] end]"<br>    newchanban $chan $banmask BadNick $bn_reason<br>    putserv "KICK $chan $nick :$bn_reason"<br>    return 0<br>    }  <br>  }<br>}</div></blockquote>The ban will be *!*@host.domain<br>I want the syntax to be *nick*!*@*<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=21">sys</a> — Sun Sep 08, 2002 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-06T10:36:29-04:00</updated>

		<published>2002-09-06T10:36:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10581#p10581</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10581#p10581"/>
		<title type="html"><![CDATA[banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10581#p10581"><![CDATA[
Yes it probably is.<br><br>But you need to tell us what variables you have everything else stored in.<br><br>Without this, we can't tell you much back.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Sep 06, 2002 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sys]]></name></author>
		<updated>2002-09-06T10:24:49-04:00</updated>

		<published>2002-09-06T10:24:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10576#p10576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10576#p10576"/>
		<title type="html"><![CDATA[banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10576#p10576"><![CDATA[
well, I want to code a script which I can ban a nick with this syntax *nick*!*@* and *!*user@*.domain<br><br>I use:<blockquote class="uncited"><div>set banmask "*[string range $nick 0 19]*!*@*" for the nick<br></div></blockquote>I am not sure if this code is correct for banning a nick.<br>what about *!*user@*.domain?<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"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=21">sys</a> — Fri Sep 06, 2002 10:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-06T09:57:53-04:00</updated>

		<published>2002-09-06T09:57:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10574#p10574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10574#p10574"/>
		<title type="html"><![CDATA[banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10574#p10574"><![CDATA[
It would depend on where you are getting the information from.<br><br>IE, do the nick, ident and host come together in the full nick!user@host format.<br><br>Oe, does it come in seperate variables.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Sep 06, 2002 9:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sys]]></name></author>
		<updated>2002-09-06T08:54:39-04:00</updated>

		<published>2002-09-06T08:54:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10570#p10570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10570#p10570"/>
		<title type="html"><![CDATA[banmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10570#p10570"><![CDATA[
What are the code for those banmask?<br><br>*!*user@*.domain<br>*nick*!*@*<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=21">sys</a> — Fri Sep 06, 2002 8:54 am</p><hr />
]]></content>
	</entry>
	</feed>
