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

	<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>2019-03-17T05:34:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Stefano1990]]></name></author>
		<updated>2019-03-17T05:34:21-04:00</updated>

		<published>2019-03-17T05:34:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107559#p107559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107559#p107559"/>
		<title type="html"><![CDATA[unban mibbit *!*@hostmask]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107559#p107559"><![CDATA[
Hi, is someone to help with script to unban the Mibbit *!*hostmask and the ban to go in Mibbit *!ident@*<br><br>Joins : HHGG (<a href="mailto:b90d6a7e@Test-4DCCF5FD.mibbit.com">b90d6a7e@Test-4DCCF5FD.mibbit.com</a>)<br><br>!kb HHGG Out<br>!ban HHGG Out<br><br>Chanserv sets mode +b *!*@Test-4DCCF5FD.mibbit.com<br><br>need to unban this way  during !kb and !ban nick<br><br>Chanserv sets mode -b+b *!*@Test-4DCCF5FD.mibbit.com *!b90d6a7e@*<br><div class="codebox"><p>Code: </p><pre><code>## mibbitBan ## set mibbitSkip {    *.mibbit.com  } bind mode - "#% +b" mibbitBan bind kick - * mibbitKick proc mibbitBan {nk uh hn ch md banmask} {    if {![botisop $ch]} return    global mibbitSkip    set match 0    scan $banmask {%[^!]!%[^@]@%s} n u h    foreach host $mibbitSkip {       if {![string match -nocase $host $h]} continue       incr match       break    }    if {$match} {       pushmode $ch -b $banmask           pushmode $ch +b "*!$user@*"       } elseif {[regexp {id-(\d+).(.*?).mibbit.com} $h - x]} {          foreach n [chanlist $ch] {             if {[isbotnick $n]} continue             if {[isop $n $ch] || [isvoice $n $ch] || [validuser [nick2hand $n]]} continue             scan [getchanhost $n $ch] {%[^@]@%s} user host             if {[regexp {\d+} $user y]} {                     if {[string equal $x $y]} {                   pushmode $ch +b "*!$user@*"                   utimer 300 [list putserv "MODE $chan -b $mask6"]               }             }          }       set ::mibbitban $banmask    } } proc mibbitKick {nk uh hn ch target why} {    if {![info exists ::mibbitban]} return    if {![botisop $ch]} return    set chhost [getchanhost $target $ch]    global mibbitSkip    set match 0    if {[scan $chhost {%[^@]@%s} u h] != 2} return    foreach host $mibbitSkip {       if {![string match -nocase $host $h]} continue       incr match       break    }    if {$match} {          pushmode $ch +b "*!$user@*"         utimer 300 [list putserv "MODE $chan -b $mask6"]       }    unset ::mibbitban } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12745">Stefano1990</a> — Sun Mar 17, 2019 5:34 am</p><hr />
]]></content>
	</entry>
	</feed>
