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

	<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>2016-12-27T06:22:55-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2016-12-27T06:22:55-04:00</updated>

		<published>2016-12-27T06:22:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105656#p105656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105656#p105656"/>
		<title type="html"><![CDATA[public ban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105656#p105656"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>If you need to, you can check out some of my <a href="https://github.com/ist0k/eggdrop-TCL" class="postlink">releases</a>. There is a public ban script, an ignore script and many other's.</div></blockquote>there is a error on line 45 of your ban script<br>see github</div></blockquote>wow.. Thanks, bero93. I hadn't even noticed, everything I added to github has been edited for github, the code I use all binds back to the same trigger so I appreciate you letting me know so I can fix the code. Github needs a bug push notification or something.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Tue Dec 27, 2016 6:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bero93]]></name></author>
		<updated>2016-12-26T19:02:24-04:00</updated>

		<published>2016-12-26T19:02:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105654#p105654</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105654#p105654"/>
		<title type="html"><![CDATA[public ban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105654#p105654"><![CDATA[
<blockquote class="uncited"><div>If you need to, you can check out some of my <a href="https://github.com/ist0k/eggdrop-TCL" class="postlink">releases</a>. There is a public ban script, an ignore script and many other's.</div></blockquote>there is a error on line 45 of your ban script<br>see github<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12466">bero93</a> — Mon Dec 26, 2016 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-06-28T09:44:58-04:00</updated>

		<published>2016-06-28T09:44:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105221#p105221</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105221#p105221"/>
		<title type="html"><![CDATA[public ban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105221#p105221"><![CDATA[
thnx get_a_fix<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Jun 28, 2016 9:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2016-06-27T19:56:37-04:00</updated>

		<published>2016-06-27T19:56:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105219#p105219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105219#p105219"/>
		<title type="html"><![CDATA[public ban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105219#p105219"><![CDATA[
If you need to, you can check out some of my <a href="https://github.com/ist0k/eggdrop-TCL" class="postlink">releases</a>. There is a public ban script, an ignore script and many other's.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Mon Jun 27, 2016 7:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-06-11T15:25:48-04:00</updated>

		<published>2016-06-11T15:25:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105154#p105154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105154#p105154"/>
		<title type="html"><![CDATA[Re: public ban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105154#p105154"><![CDATA[
<blockquote class="uncited"><div>greetingz , i was searching for public ban command script couldnt really find any most only ban nick and not host ,  i was wondering if someone would have one already made</div></blockquote>This code is created <span style="text-decoration:underline">to add ignores</span> to hosts (masks ) of nicks (NOT BAN).<br>If you replace the newignore comnand by BAN  command , it can be useful.<br><div class="codebox"><p>Code: </p><pre><code>#Sintax: !ignore [nick | mask] &lt;time in min&gt; &lt;reason&gt;proc pub:cmdignore {nick uhost handle chan text} { if {$text == ""} {return 0}  if {[regexp -nocase -- {^[-_./\\]+?([a-z0-9]+)[-_./\\]+$} [lindex [split $text] 0] a b]} { set target *$b*!*@*  } else {  set target [join [lindex [split $text] 0]]   }  set b $targetset largo [string length $text]  set time [join [lindex [split $text] 1]]  set reason [join [lrange [split $text] 2 [expr { "$largo" - 1}]]]  if {![string match "*\[0-9\]*" $time]} {set it 15} else { set it "$time"}  set host [lindex [split [getchanhost $target $chan] @] 1] set idents [lindex [split [getchanhost $target $chan] @] 0]  if {$reason == ""} {set ir "Solicitado por $nick en [join [ctime [unixtime]]]."} else { set ir "$reason Puesto por $nick en [join [ctime [unixtime]]]."}  if {![string match *!*@* $target] &amp;&amp; ![onchan $target]} {putserv "PRIVMSG $chan :$target NO se encuentra en el canal!."return 0  }  if {[onchan $target]} {set im "*!*@[join [lrange [split $host .] 0 end] .]"} else {set im "$target"}  if {[onchan $target]} {set ident1 "*![join $idents]@*" }   if {"$idents" == "ircap"} {set ident1 "*![join $idents]@[join $host]"}  newignore $im $handle "$ir" $itnewignore $ident1 $handle "$ir" $it  if {("$it" == 0) &amp;&amp; ($reason != "")} { putmsg $chan "$nick, se ha puesto en ignore a $im $b $ident1 por siempre, $reason."; return 1 }  if {("$it" == 0) &amp;&amp; ($reason == "")} { putmsg $chan "$nick, se ha puesto en ignore a $im $b $ident1 por siempre."; return 1 }if {("$it" == 1) &amp;&amp; ($reason != "")} { putmsg $chan "$nick, se ha puesto en ignore a $im $b $ident1 por $it minuto, $reason."; return 1}if {("$it" == 1) &amp;&amp; ($reason == "")} { putmsg $chan "$nick, se ha puesto en ignore a $im $b $ident1 por $it minuto."; return 1}if {("$it" != 0) &amp;&amp; ($reason == "")} { putmsg $chan "$nick, se ha puesto en ignore a $im $b $ident1 por $it minutos, $reason."; return 1} else { putmsg $chan "$nick, se ha puesto en ignore a $im $b $ident1 por $it minutos; $reason."return 1}} </code></pre></div>Example with this nick and host: God!<a href="mailto:genius@I.am.a.god">genius@I.am.a.god</a><br>nick: God<br>ident: genius<br>host:I.am.a.god<br><br>&lt;God&gt;Hello I came to bother jejeje!<br>&lt;@operator&gt; !ignore God por molestar<br>&lt;@MyBoT&gt;  operator, se ha puesto en ignore a *!*@I.am.a.god *!<a href="mailto:genius@I.am.a.god">genius@I.am.a.god</a> por 15 minutos; molestar.<br>"<span style="color:red">por molestar</span>" ( to bother) is a reason to ignore<br>or just put the nick without reason:<br>&lt;@operator&gt; !ignore God<br><br><br>Ignoring is put these two forms simultaneously.<br>*!*@host<br>*!ident@host<br><br>I think if you change:<blockquote class="uncited"><div><span style="color:red">newignore</span> $im $handle "$ir" $it<br><span style="color:red">newignore</span> $ident1 $handle "$ir" $it</div></blockquote>like this:<div class="codebox"><p>Code: </p><pre><code>putserv "mode #chan +b $im $handle $ir $it"putserv "mode #chan +b $ident1 $handle $ir $it"</code></pre></div>The messages are in Spanish , I had not time to translate to English.<br>With the help of google translator you can see or ask me if you do not understand.<br>I excepted the idents "ircap" because they are used by many users in my IRC network.<blockquote class="uncited"><div>if {"$idents" == "<span style="color:red">ircap</span>"} {set ident1 "*![join $idents]@[join $host]"}</div></blockquote>The default time is 15 minutes<blockquote class="uncited"><div>if {![string match "*\[0-9\]*" $time]} {set it <span style="color:red">15</span>} else { set it "$time"} </div></blockquote><strong class="text-strong"><br>I have not tested</strong>, but I think you can serve, at least you have an idea of ​​how to take the host or mask for the bans .<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Sat Jun 11, 2016 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-06-11T10:44:20-04:00</updated>

		<published>2016-06-11T10:44:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105147#p105147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105147#p105147"/>
		<title type="html"><![CDATA[public ban command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105147#p105147"><![CDATA[
greetingz , i was searching for public ban command script couldnt really find any most only ban nick and not host ,  i was wondering if someone would have one already made<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Jun 11, 2016 10:44 am</p><hr />
]]></content>
	</entry>
	</feed>
