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

	<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>2016-02-19T18:52:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-02-19T18:52:08-04:00</updated>

		<published>2016-02-19T18:52:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104718#p104718</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104718#p104718"/>
		<title type="html"><![CDATA[Badword script is kicking owner]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104718#p104718"><![CDATA[
Sorry, nothing has been changed in that part of the code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Fri Feb 19, 2016 6:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[samkan]]></name></author>
		<updated>2016-02-19T16:18:44-04:00</updated>

		<published>2016-02-19T16:18:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104717#p104717</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104717#p104717"/>
		<title type="html"><![CDATA[Badword script is kicking owner]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104717#p104717"><![CDATA[
Yes, it works. But now the bot is only banning users, without kicking them :S<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12604">samkan</a> — Fri Feb 19, 2016 4:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-02-19T13:08:46-04:00</updated>

		<published>2016-02-19T13:08:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104716#p104716</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104716#p104716"/>
		<title type="html"><![CDATA[Badword script is kicking owner]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104716#p104716"><![CDATA[
Test this....<div class="codebox"><p>Code: </p><pre><code>set badwords {.........}bind pubm - "*" pubm:badwordproc pubm:badword {nick uhost hand chan text} {  global badwords  if {[matchattr $hand "fo"]} { return 0 }  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 :swearing!"      timer 20 [list putquick "MODE $chan -b *!*@[lindex [split $uhost @] 1]"]      break    }   }  }  return 0} putlog "Badword loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Fri Feb 19, 2016 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[samkan]]></name></author>
		<updated>2016-02-19T10:57:39-04:00</updated>

		<published>2016-02-19T10:57:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104715#p104715</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104715#p104715"/>
		<title type="html"><![CDATA[Badword script is kicking owner]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104715#p104715"><![CDATA[
Hallo together. I have a problem and I dont know how to fix it.<br><br>I get a tcl script for badwords from my friend on irc a lot of years ago. I am using the script for 5 years, but the bot is kicking me. I setup +protectfriends in egg.conf, but the bot still ban+kick me. Is the problem maybe in the badwords.tcl? Can you help me to add a line to say the bot he have to check first if the user has +fo flag?<br><br>Here is the tcl script:<br><div class="codebox"><p>Code: </p><pre><code>set badwords {.........}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 :swearing!"      timer 20 [list putquick "MODE $chan -b *!*@[lindex [split $uhost @] 1]"]      }    }  }} putlog "Badword loaded"</code></pre></div>I hope you can help me. Thank you very much.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12604">samkan</a> — Fri Feb 19, 2016 10:57 am</p><hr />
]]></content>
	</entry>
	</feed>
