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

	<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-11T10:26:19-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-05-11T10:26:19-04:00</updated>

		<published>2003-05-11T10:26:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20059#p20059</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20059#p20059"/>
		<title type="html"><![CDATA[Ban-time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20059#p20059"><![CDATA[
As for the ban-time, lookup the newban function in tcl-commands.doc<p>Statistics: Posted by Guest — Sun May 11, 2003 10:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-05-11T10:23:22-04:00</updated>

		<published>2003-05-11T10:23:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20058#p20058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20058#p20058"/>
		<title type="html"><![CDATA[Ignoring masters/owners]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20058#p20058"><![CDATA[
Above the regexp matching, add:<br><div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand m]} { return }</code></pre></div>This will cause the remaining code not to be executed if the user is recognized as either a global master, or a global owner.<p>Statistics: Posted by Guest — Sun May 11, 2003 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-11T09:30:17-04:00</updated>

		<published>2003-05-11T09:30:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20057#p20057</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20057#p20057"/>
		<title type="html"><![CDATA[Simple Need]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20057#p20057"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set spambantime 10bind msgm - "*" pv_kickproc pv_kick {nick uhost hand text} {global botnick spambantime if {[regexp -nocase "#" $text] || [regexp -nocase "join" $text] || [regexp -nocase "channel" $text] || [regex$   foreach kickchan [channels] {     if {![isop $nick $kickchan] || ![isvoice $nick $kickchan]} {       if {[onchan $nick $kickchan]} {          set bmask "*!*[string range $uhost [string first "@" $uhost] end]"          if {![ischanban $bmask $kickchan] || [botisop $kickchan]} {                set kickmsg "Private Spamming detected - Banned 10mins."                putquick "KICK $kickchan $nick :$kickmsg"                putquick "mode $kickchan +b $bmask $spambantime"              }        }     }}}}</code></pre></div>what should i add to this script so it won't ban masters and owners on private spam ?<br><br>and does the ban-time work in this script, like will it unban the user after 10mins ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 11, 2003 9:30 am</p><hr />
]]></content>
	</entry>
	</feed>
