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

	<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-24T11:25:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-06-24T11:25:10-04:00</updated>

		<published>2005-06-24T11:25:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51312#p51312</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51312#p51312"/>
		<title type="html"><![CDATA[Please, fix this script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51312#p51312"><![CDATA[
<blockquote class="uncited"><div>De Kus, thank you!<br>allfloodprotection don't strip colors too <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"></div></blockquote>It will in the next realease <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jun 24, 2005 11:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[st33l]]></name></author>
		<updated>2005-06-24T10:13:27-04:00</updated>

		<published>2005-06-24T10:13:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51308#p51308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51308#p51308"/>
		<title type="html"><![CDATA[Please, fix this script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51308#p51308"><![CDATA[
De Kus, thank you!<br>allfloodprotection don't strip colors too <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6393">st33l</a> — Fri Jun 24, 2005 10:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-06-23T14:54:24-04:00</updated>

		<published>2005-06-23T14:54:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51293#p51293</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51293#p51293"/>
		<title type="html"><![CDATA[Please, fix this script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51293#p51293"><![CDATA[
this script looks rather bad anyway, there are much better ones.<br>the implantation of Sir Fz' allfloodprotection is better, however I still like slenox one which was the best... I hope the things I like it for arent changed from myself (I cant even remeber all changes I did to others scripts ^^).<br><br>However back to your problem about the stripcodes, if you are using 1.6.17 or above you can simply add:<div class="codebox"><p>Code: </p><pre><code>set text [string tolower [stripcodes abcru $text]]</code></pre></div>somewhere before the first use of $text and remove all the string tolower things around $text later on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Jun 23, 2005 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stevegarbz]]></name></author>
		<updated>2005-06-23T13:03:48-04:00</updated>

		<published>2005-06-23T13:03:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51286#p51286</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51286#p51286"/>
		<title type="html"><![CDATA[Please, fix this script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51286#p51286"><![CDATA[
What does it say the error is when it isn't working?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5732">stevegarbz</a> — Thu Jun 23, 2005 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[st33l]]></name></author>
		<updated>2005-06-23T08:15:38-04:00</updated>

		<published>2005-06-23T08:15:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=51279#p51279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=51279#p51279"/>
		<title type="html"><![CDATA[Please, fix this script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=51279#p51279"><![CDATA[
Please, correct this script. It should not pay attention to colors, the bold, the underlined text. And that our users change color and flood is not set off.<br>repeat.tcl<div class="codebox"><p>Code: </p><pre><code># by Tris, 17jul96 (v2)# action added by fantomas 22Dec1997# Updated to v4 (17 November 1998) by slennox &lt;slenny@ozemail.com.au&gt;# About time someone updated this nice little script that more# people should be using :-)# - Updated for 1.3 bots (channel specific +o user no longer kicked)# - Added options to set number of kicks in how many seconds# and kick msg# - Added option to ban as well as kick## Fixed version (1 December 1998)# - repeatban set to 1 was generating 'invalid command name' error.# I'd forgotten to add 'fixbanmask' proc (stolen from subop*.tcl by# MHT &amp; YaZZ) :-)## Updated to v4.1 (8 December 1998)# - Got rid of the fixbanmask crap and changed ban type to an IP ban :-)# Updated (25 November 2002) @/+ exempt# - Now this script won't kick opped/voiced users. I added an op/voice exempt to this script # originally made by Tris and modified by users listed above. (|am|) @ DALnet amit@amit.mu # Number of repeats before kickingset repeatkick 3# In how many secondsset repeattime 70# Kick msgset repeatmsg "Stop Repeating!"# Also ban?set repeatban 1# How long the ban should last (in minutes)set repeatbantime 30# Don't edit below unless you know what you're doingbind pubm - * repeat_pubmbind ctcp - ACTION repeat_actionbind nick - * repeat_nickproc repeat_pubm {nick uhost hand chan text} {  if {[matchattr $nick mo|mo $chan] || [isop $nick $chan] || [isvoice $nick $chan] || [matchattr $nick o|o $chan]} {return 0}  global repeat_last repeat_num repeatkick repeatmsg repeatban repeatbantime  if [info exists repeat_last([set n [string tolower $nick]])] {    if {[string compare [string tolower $repeat_last($n)] \        [string tolower $text]] == 0} {      if {[incr repeat_num($n)] &gt;= ${repeatkick}} {        if {$repeatban} {          set banmask "*!*[string range $uhost [string first "@" $uhost] end]"          newchanban $chan $banmask repeat $repeatmsg $repeatbantime        }        putserv "KICK $chan $nick :$repeatmsg"        unset repeat_last($n)        unset repeat_num($n)      }      return    }  }  set repeat_num($n) 1  set repeat_last($n) $text}proc repeat_action {nick uhost hand dest keyword text} {  if {[matchattr $nick mo|mo $dest] || [isop $nick $dest] || [isvoice $nick $dest] || [matchattr $nick o|o $dest]} {return 0}   global botnick altnick repeat_last repeat_num repeatkick repeatmsg repeatban repeatbantime  if [info exists repeat_last([set n [string tolower $nick]])] {    if {[string compare [string tolower $repeat_last($n)] \        [string tolower $text]] == 0} {      if {[incr repeat_num($n)] &gt;= ${repeatkick}} {        if {$repeatban} {          set banmask "*!*[string range $uhost [string first "@" $uhost] end]"          newchanban $dest $banmask repeat $repeatmsg $repeatbantime        }        putserv "KICK $dest $nick :$repeatmsg"        unset repeat_last($n)        unset repeat_num($n)      }      return    }  }  set repeat_num($n) 1  set repeat_last($n) $text}proc repeat_nick {nick uhost hand chan newnick} {  if {[matchattr $nick mo|mo $chan] || [isop $nick $chan] || [isvoice $nick $chan] || [matchattr $nick o|o $chan]} {return 0}  global repeat_last repeat_num  catch {set repeat_last([set nn [string tolower $newnick]]) \         $repeat_last([set on [string tolower $nick]])}  catch {unset repeat_last($on)}  catch {set repeat_num($nn) $repeat_num($on)}  catch {unset repeat_num($on)}}proc repeat_timr {} {  global repeat_last repeattime  catch {unset repeat_last}  catch {unset repeat_num}  utimer $repeattime repeat_timr}if ![regexp repeat_timr [utimers]] {     # thanks to jaym  utimer $repeattime repeat_timr}putlog "repeat.tcl (@/+ exempt) by |am| originally made by Tris loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6393">st33l</a> — Thu Jun 23, 2005 8:15 am</p><hr />
]]></content>
	</entry>
	</feed>
