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

	<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-03-07T21:54:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-03-07T21:54:00-04:00</updated>

		<published>2002-03-07T21:54:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5133#p5133</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5133#p5133"/>
		<title type="html"><![CDATA[Hostmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5133#p5133"><![CDATA[
This is what I use in my scripts:<br><div class="codebox"><p>Code: </p><pre><code>############################## Set the ban type here:    ## 1 - *!*@host.domain       ## 2 - *!user@host.domain    ## 3 - nick!*@host.domain    ## 4 - nick!user@host.domain ## 5 - *!?user@*.host.domain ##############################set bantype_setting(bantype) "1"proc bantype_maskban {nick uhost} {  global bantype_setting  switch -- $bantype_setting(bantype) {    1 { set ban "*!*@[lindex [split $uhost @] 1]" }    2 { set ban "*!$uhost" }    3 { set ban "$nick!*@[lindex [split $uhost @] 1]" }    4 { set ban "$nick!$uhost" }    5 { set ban "[maskhost $uhost]" }    default { set ban "*!*@[lindex [split $uhost @] 1]" }  }  return $ban}</code></pre></div>Call it with:<div class="codebox"><p>Code: </p><pre><code>  [bantype_maskban &lt;nick&gt; &lt;user@host&gt;]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Thu Mar 07, 2002 9:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-07T13:11:00-04:00</updated>

		<published>2002-03-07T13:11:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5126#p5126</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5126#p5126"/>
		<title type="html"><![CDATA[Hostmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5126#p5126"><![CDATA[
Ok, i need my eggdrop to ban other then *!*ident@*isp.com, i tried and i tried but i cannot find another way of banning someone, getchanhost just returns that.. i just don't know how to do it diffrent.<p>Statistics: Posted by Guest — Thu Mar 07, 2002 1:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
