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

	<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-09-07T18:47:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[swarfega]]></name></author>
		<updated>2008-09-07T18:47:13-04:00</updated>

		<published>2008-09-07T18:47:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85085#p85085</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85085#p85085"/>
		<title type="html"><![CDATA[script for an #idle type channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85085#p85085"><![CDATA[
Thanks for the idea about using a bad words script which I am doing and works ok. What I would like to do is a ban counter. Could any one help integrate that into the code below:<br><br><div class="codebox"><p>Code: </p><pre><code>bind pubm -|- * blocked:wordssetudef flag bwords#Rlsdate : 28-05-2003#? and * works as wildcardsset bwords(words) "*"#Allow pflag to use these words ?set bwords(p) 1set bwords(pflag) o#How long time to last ? must be in minutes.set bwords(mins) 30bind ctcp -|- * blocked:words2proc blocked:words2 {nick uhost handle dest keyword text} { if {[validchan $dest]} { blocked:words $nick $uhost $handle $dest $text }}proc blocked:words {nick uhost handle chan text} {global botnick bwords set word [join [lindex [split $text] 0]]  if {![string match "*+bwords*" [channel info $chan]]} { return 0 }  if {[matchattr $handle $bwords(pflag)|$bwords(pflag) $chan] &amp;&amp; $bwords(p)==1} { return 0 }  foreach w [split $bwords(words) " "] {   if {[string match [join $w] [join $word]]} {    set nck [split [getchanhost $nick] "@"]    set b1 [split [lindex $nck 1] "\."]    set domain [lindex $b1 [expr [llength $b1]-2]].[lindex $b1 [expr [llength $b1]-1]]    set banmask *![lindex $nck 0]@*.$domain    newchanban $chan $banmask $botnick "$bwords (mins) mins anti-idle ban. ([strftime %m-%d-%Y@%H:%M])" $bwords(mins)    putlog "Banned $nick@$chan for using $word."    return 0   }  }}putlog "Bwords loaded v2.1 : Bad words list = $bwords(words)"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8269">swarfega</a> — Sun Sep 07, 2008 6:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nsrafk]]></name></author>
		<updated>2008-09-07T05:27:19-04:00</updated>

		<published>2008-09-07T05:27:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85077#p85077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85077#p85077"/>
		<title type="html"><![CDATA[script for an #idle type channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85077#p85077"><![CDATA[
You can just use a badword script i guess, and add wildcards.. * means anyword.. seems useless tho :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8985">nsrafk</a> — Sun Sep 07, 2008 5:27 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[swarfega]]></name></author>
		<updated>2008-08-31T05:18:37-04:00</updated>

		<published>2008-08-31T05:18:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84946#p84946</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84946#p84946"/>
		<title type="html"><![CDATA[script for an #idle type channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84946#p84946"><![CDATA[
Hi, Ive search all over for a script to do what I want without much luck.<br><br>I am trying to set up an #idle type channel and need a script (or settings) that would auto kick/ban people for 30 minutes for talking in the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8269">swarfega</a> — Sun Aug 31, 2008 5:18 am</p><hr />
]]></content>
	</entry>
	</feed>
