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

	<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>2002-03-21T11:28:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-21T11:28:00-04:00</updated>

		<published>2002-03-21T11:28:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5597#p5597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5597#p5597"/>
		<title type="html"><![CDATA[newchanban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5597#p5597"><![CDATA[
i have i little script that scans for bad words, if some user say one he/she will be banned the problem is that the bot kicks the user with reason (banned) and not with the set reason<br><br><br>proc bw_pubm {nick uhost hand chan text} {<br>  regsub "^.*@" $uhost "*!*@" hostmask<br>  if {[bad_words_test $text]} {<br>  global botnick watchchan reason<br>  if {$chan != $watchchan} {return 0}<br>  if {$nick == $botnick} {return 0}<br>  if {[isop $nick $chan]} {return 0} {<br>   newchanban $chan $hostmask $botnick $reason 15<br>   }    <br>  return 1<br>  }<br>}<br><p>Statistics: Posted by Guest — Thu Mar 21, 2002 11:28 am</p><hr />
]]></content>
	</entry>
	</feed>
