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

	<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>2008-04-09T13:27:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[helperis]]></name></author>
		<updated>2008-04-09T13:27:44-04:00</updated>

		<published>2008-04-09T13:27:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82242#p82242</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82242#p82242"/>
		<title type="html"><![CDATA[enforce bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82242#p82242"><![CDATA[
Thanks forum.egghelp.org<br>if anyone need this script:<div class="codebox"><p>Code: </p><pre><code>set kickcount 0 proc countkicks {} {  incr ::kickcount }bind mode - "* +b" enforcebans   proc enforcebans {nick uhost hand chan mc ban} {   if {![string match -nocase [string map {"\\" "\\\\" "\[" "\\["} $ban] $::botname]} {     foreach n [chanlist $chan] {       if {[string match -nocase [string map {"\\" "\\\\" "\[" "\\["} $ban] $n![getchanhost $n $chan]]} {         putkick $chan $n "Banned by \002$nick\002... - [countkicks] -"       }     }   } else {     pushmode $chan -o $nick   } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9851">helperis</a> — Wed Apr 09, 2008 1:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[helperis]]></name></author>
		<updated>2008-04-09T09:43:32-04:00</updated>

		<published>2008-04-09T09:43:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82237#p82237</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82237#p82237"/>
		<title type="html"><![CDATA[enforce bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82237#p82237"><![CDATA[
first i need: <br>on channel ban to bot enforce banned user and kick him with message<br>(banned by <strong class="text-strong">nick</strong>)<br><br>kick counter later  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>And maybe i need go to "script requests" forum?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9851">helperis</a> — Wed Apr 09, 2008 9:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2008-04-09T08:56:45-04:00</updated>

		<published>2008-04-09T08:56:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82235#p82235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82235#p82235"/>
		<title type="html"><![CDATA[enforce bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82235#p82235"><![CDATA[
There are several kick counter scripts in the archives, maybe you might wanna give one of them a go  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Wed Apr 09, 2008 8:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[helperis]]></name></author>
		<updated>2008-04-09T08:54:50-04:00</updated>

		<published>2008-04-09T08:54:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82234#p82234</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82234#p82234"/>
		<title type="html"><![CDATA[enforce bans]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82234#p82234"><![CDATA[
I need script like +enforce bans. But i need to bot in kick message write not (Banned) but (Banned by <strong class="text-strong">nick</strong> -KICK COUNT-) <br><br>There is something but don't working:<div class="codebox"><p>Code: </p><pre><code>bind mode - * mode_procproc mode_proc {nick uhost hand chan mode target} {#need kick counter code:set kickcount 0if {[botisop]} {if {$mode eq "+b"} {putkick $chan $nick "\(banned by \002$nick\002 -${kickcount}-\)"}} else {putserv "PRIVMSG $chan :I'm not op'd!";}</code></pre></div>Sorry for my english  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9851">helperis</a> — Wed Apr 09, 2008 8:54 am</p><hr />
]]></content>
	</entry>
	</feed>
