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

	<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>2011-07-20T08:24:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[AlIt0]]></name></author>
		<updated>2011-07-20T08:24:17-04:00</updated>

		<published>2011-07-20T08:24:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97257#p97257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97257#p97257"/>
		<title type="html"><![CDATA[Re]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97257#p97257"><![CDATA[
Yup, changed as he wrote, but now I have this problem<br>[15:47] &lt;(Linux&gt; [15:45] Tcl error [kbspam]: can't read "ban": no such variable<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11179">AlIt0</a> — Wed Jul 20, 2011 8:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2011-07-18T03:53:01-04:00</updated>

		<published>2011-07-18T03:53:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97231#p97231</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97231#p97231"/>
		<title type="html"><![CDATA[SpamKicker.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97231#p97231"><![CDATA[
I think <strong class="text-strong">$uhost</strong> equal to <div class="codebox"><p>Code: </p><pre><code>set host "$nick![getchanhost $nick]"</code></pre></div>Try to change <strong class="text-strong">$uhost</strong> to <strong class="text-strong">$host</strong> or <div class="codebox"><p>Code: </p><pre><code>set host "$nick![getchanhost $nick]"</code></pre></div> to <div class="codebox"><p>Code: </p><pre><code>set uhost "$nick![getchanhost $nick]"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Mon Jul 18, 2011 3:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AlIt0]]></name></author>
		<updated>2011-07-17T13:24:13-04:00</updated>

		<published>2011-07-17T13:24:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97226#p97226</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97226#p97226"/>
		<title type="html"><![CDATA[SpamKicker.tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97226#p97226"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind bot Z kb kbspamproc kbspam {botnc kb inviter} {  global kb_reason ban_time exflag dkick  set nick [lindex $inviter 0]  set bmask [lindex $inviter 1]  set host "$nick![getchanhost $nick]"  set dmask [maskhost $uhost]  set nickhand [nick2hand $nick]  if {[string match $ban $botname] == 0} {   if {[string match "*html.chat" $uhost]} { set ban "*!*[lindex [split [maskhost $uhost] "!"] 1]"  } { set ban "*!*@[lindex [split $uhost "@"] 1]"}     return 0  }  putlog "makes invites &lt;&lt;|$botnc|&gt;&gt;-&gt; $bmask"   putlog "Ban/Kicking $bmask from channels..."  foreach chan [channels] {   if {[onchan $nick $chan] == 1} {      putquick "KICK $chan $nick :[censored] inviter"      putserv "MODE $chan +b :$dmask"      return 0      }#     newban $fmask chek3r $dkick 0     newchanban $chan $nick chek3r "$nick is a stewpid inviter" $ban_time  }}putlog "spam kicker running."</code></pre></div>Tcl error [kbspam]: can't read "uhost": no such variable<br>Will you tell me what to replace "uhost"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11179">AlIt0</a> — Sun Jul 17, 2011 1:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
