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

	<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>2005-06-26T09:08:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awesomeawyeah]]></name></author>
		<updated>2005-06-26T09:08:01-04:00</updated>

		<published>2005-06-26T09:08:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51388#p51388</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51388#p51388"/>
		<title type="html"><![CDATA[my badword tcl is missing :) help pls]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51388#p51388"><![CDATA[
A badword simple script can be summed up in just 5-6 lines.<br><div class="codebox"><p>Code: </p><pre><code>set badwords {"*word1*""*word2*""word3*""*word4""*wor*d5*""*w??rd6*""sentence here*"}bind pubm - "*" pubm:badwordproc pubm:badword {nick uhost hand chan text} { global badwords  if {[botisop $chan] &amp;&amp; ![isbotnick $nick]} {   foreach badword $badwords {    if {[string match -nocase $badword $text]} {      putquick "MODE $chan +b *!*@[lindex [split $uhost @] 1]"      putquick "KICK $chan $nick :Badword *$badword* detected"      }    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6407">awesomeawyeah</a> — Sun Jun 26, 2005 9:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-06-22T19:40:58-04:00</updated>

		<published>2005-06-22T19:40:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51258#p51258</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51258#p51258"/>
		<title type="html"><![CDATA[my badword tcl is missing :) help pls]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51258#p51258"><![CDATA[
This script is pretty much buggy and has some unused variables, I'd suggest you search for a different bad words kick script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jun 22, 2005 7:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Antiphates]]></name></author>
		<updated>2005-06-22T18:41:53-04:00</updated>

		<published>2005-06-22T18:41:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51252#p51252</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51252#p51252"/>
		<title type="html"><![CDATA[my badword tcl is missing :) help pls]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51252#p51252"><![CDATA[
this badword tcl is ban kicks good but i want to remove the bans with in time period how can i do this ? tnx .. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> <br><br># Set this to the default password to assign to the added user<br># record.<br>set bword "badword1"<br><br>##Ban time for second warning<br>set bantime 1<br><br>##Comment for ban<br>set Ban "kufur YASAK ! $bantime dakka banlandInIz ."<br><br>set flag1 Y<br>set flag2 E<br>set flag3 G<br> bind pub - "pricks" badword<br><br>proc badword {nick uhost hand chan rest} {<br>putlog "$nick $uhost $hand $chan $rest"<br>  global botnick ban-time Ban bword<br>    if {([ matchattr $hand f ])} {<br>      putserv "PRIVMSG $chan :\001ACTION OVER Hears \002$nick\002 And SmiLes L:-)\001"<br>        return 1<br>} elseif {([matchattr $hand G])} {<br>          chattr $nick +dk<br>  setuser $nick COMMENT "Perm banned for 4 bad word offenses"<br>          putserv "PRIVMSG $chan :$nick You Are Not Welcomed Here Anymore..."<br>  putserv "KICK $chan $nick :$Ban \[Perm\]"<br>        return 1<br>} elseif {([matchattr $hand E])} {<br>  chattr $nick +G-E<br>  putserv "PRIVMSG $chan :$nick You Have Had Your Chances, Now You Are Out of Here. Strike! two  Your --------=&gt;&gt;&gt; Out."<br>          set banlamer [maskhost [getchanhost $nick $chan]]<br>          newban $banlamer Badword $Ban 1 none<br>          setuser $nick COMMENT "3 Bad Word Offenses"<br>          return 1<br>} elseif {([matchattr $hand Y])} {<br>  chattr $nick +E-Y<br>  putserv "PRIVMSG $chan :Has taken action on $nick for the 2nd Offense"<br>  set banlamer [maskhost [getchanhost $nick $chan]]<br>          newban $banlamer Badword $Ban 1 none<br>          setuser $nick COMMENT "2 Bad Word Offenses"<br>          return 1<br>} <br>          adduser $nick [maskhost [getchanhost $nick $chan]]<br>  putserv "KICK $chan $nick :git geL 1 topici oku $nick"<br>          putserv "NOTICE $nick :If You Continue, You Will Be Banned The Second Time For 1 hour"<br>          chattr $nick +Y<br>  set banlamer [maskhost [getchanhost $nick $chan]]<br>  newban $banlamer Badword $Ban 1 none<br>  setuser $nick PASS $bword <br>          setuser $nick COMMENT "1st Offense Badword"<br>          return 0<br> }<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6389">Antiphates</a> — Wed Jun 22, 2005 6:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
