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

	<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-05-21T12:17:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-21T12:17:10-04:00</updated>

		<published>2003-05-21T12:17:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20480#p20480</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20480#p20480"/>
		<title type="html"><![CDATA[Problem with the Bots Ban mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20480#p20480"><![CDATA[
Thanx, that worked perfectly now it bans <strong class="text-strong">*!*~ident</strong>/<strong class="text-strong">*!*ident</strong>@*.domain.com , but if I type :<strong class="text-strong"> g ban *!*@domain.com</strong> will it ban the host ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed May 21, 2003 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-05-21T02:28:21-04:00</updated>

		<published>2003-05-21T02:28:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20454#p20454</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20454#p20454"/>
		<title type="html"><![CDATA[Problem with the Bots Ban mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20454#p20454"><![CDATA[
Or you can just use:<br><div class="codebox"><p>Code: </p><pre><code>pushmode $chan +b [maskhost *[getchanhost $sindex1]]</code></pre></div>$sindex1 being the nick of whoever you're banning.<p>Statistics: Posted by Guest — Wed May 21, 2003 2:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-21T01:01:38-04:00</updated>

		<published>2003-05-21T01:01:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20451#p20451</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20451#p20451"/>
		<title type="html"><![CDATA[Problem with the Bots Ban mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20451#p20451"><![CDATA[
First, paste what is with the 'sindex1' and if it's the argument 1 of the command the use this: set mask "*!*@[lindex [split [getchanhost $sindex1] @] 1]"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed May 21, 2003 1:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-20T14:39:53-04:00</updated>

		<published>2003-05-20T14:39:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20439#p20439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20439#p20439"/>
		<title type="html"><![CDATA[Problem with the Bots Ban mask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20439#p20439"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>"ban" {      if {(![matchattr $hand o|o $chan] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![pub_issubop $usesubop $hand $chan]) || [ma$        if {$::pub_setting(noticeacc)} { putserv "NOTICE $nick :This command requires Channel [expr {($usesubo$        return      }      if {[pub_cc [set reason [join [lrange $extxt 2 end]]] ""]} {        puthelp "NOTICE $nick :Usage: $prefix Ban &lt;nick/host&gt; &lt;reason&gt;"        return        }        if {![pub_cm "*!*@*" $sindex1]} {        set user $sindex1        if {![matchattr $hand o|o $chan] &amp;&amp; ![isop $nick $chan] &amp;&amp; [isop $user $chan]} {          pub_putmsg $chan "SubOps cannot ban ops."          return        }          if {![onchan $user $chan]} {        pub_putmsg $chan "$user is not on $chan."        return      }      if {![matchattr $hand o|o $chan] &amp;&amp; ![isop $nick $chan]} {        foreach u [chanlist $chan] {          if {[isop $u $chan] &amp;&amp; [pub_ncm $user $u![getchanhost $u]]} {            pub_putmsg $chan "SubOps cannot ban ops."            return          }        }      }        pushmode $chan +b $user    }</code></pre></div>when i type on the main, "g ban nick" the bot bans *!ident@host even if the ident has <strong class="text-strong">~</strong> in it, so what i want is that the bot would ban *!*ident@host, can somebody fix it up for me ?[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue May 20, 2003 2:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
