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

	<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-03-16T11:52:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-03-16T11:52:29-04:00</updated>

		<published>2016-03-16T11:52:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104814#p104814</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104814#p104814"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104814#p104814"><![CDATA[
tried that nothing happens no error tho<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Wed Mar 16, 2016 11:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-03-16T02:11:25-04:00</updated>

		<published>2016-03-16T02:11:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104811#p104811</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104811#p104811"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104811#p104811"><![CDATA[
The bind join line is correct so this means that you are either missing a module or have something that is messing something up.<br><br>Either way unload all scripts and load just this one and see if that works on it's own. If it dose, then load one by one the previously unloaded scripts until you find the culprit. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Mar 16, 2016 2:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-03-15T13:28:41-04:00</updated>

		<published>2016-03-15T13:28:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104810#p104810</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104810#p104810"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104810#p104810"><![CDATA[
Module: channels, v 1.1<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Mar 15, 2016 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-03-15T13:14:53-04:00</updated>

		<published>2016-03-15T13:14:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104809#p104809</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104809#p104809"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104809#p104809"><![CDATA[
Based on that error you don't.<br><br>Unload this script (if it's causing problems) and get on Telnet/DCC Chat with the bot and do <em class="text-italics">.module</em> and report back what you get.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 15, 2016 1:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-03-15T11:38:53-04:00</updated>

		<published>2016-03-15T11:38:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104808#p104808</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104808#p104808"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104808#p104808"><![CDATA[
the channel module was  and is loaded<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Tue Mar 15, 2016 11:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-03-15T03:07:43-04:00</updated>

		<published>2016-03-15T03:07:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104806#p104806</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104806#p104806"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104806#p104806"><![CDATA[
Check out your eggdrop.conf file and make sure you haven't unloaded the <em class="text-italics">channels</em> module.<br><br>You should have <em class="text-italics">loadmodule channels</em> in there and if you have a # in front of the line then the module isn't loaded.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 15, 2016 3:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-03-14T18:21:41-04:00</updated>

		<published>2016-03-14T18:21:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104805#p104805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104805#p104805"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104805#p104805"><![CDATA[
now having error:<br><blockquote class="uncited"><div>bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, cron, dcc, disc, evnt, filt, link, load, log, nkch, note, time, unld<br>    while executing<br>"bind join - * foo"</div></blockquote><br>using this script:<br><div class="codebox"><p>Code: </p><pre><code>set r "no version reply"bind join - * foobind ctcr - VERSION barbind time - * mooproc foo {n u h c} {   if {[matchattr $h of|of]} return   set ::verNick($n) [list [unixtime] $u]   puthelp "privmsg $n :\001VERSION\001"} proc bar {n u h d k t} {   if {[isbotnick $d] &amp;&amp; [info exists ::verNick($n)]} {      unset ::verNick($n)   }}proc moo {m h d mo y} {   if {[info exists ::ver]} {   foreach {n e} [array get ::ver] {      set t [lindex $e 0]      set u [lindex $e 1]      if {[unixtime] - $t &gt; 30} {         unset ::verNick($n)         newban "*!*[string range $u [string first "@" $u] end]" $::nick $::r 1         foreach c [channels] {            if {[botisop $c] &amp;&amp; [onchan $n $c]} {               putkick $c $n $::r            }         }      }   }} }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon Mar 14, 2016 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-03-14T18:00:49-04:00</updated>

		<published>2016-03-14T18:00:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104804#p104804</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104804#p104804"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104804#p104804"><![CDATA[
so far this is what i got and the error is gone but nothing really happens<br><div class="codebox"><p>Code: </p><pre><code> set r "No client version reply!"bind join - * foobind ctcr - VERSION barbind time - * mooproc foo {n u h c} {   if {[matchattr $h ovf|ovf]} return   set ::verNick($n) [list [unixtime] $u]   puthelp "privmsg $n :\001VERSION\001"} proc bar {n u h d k t} {   if {[isbotnick $d] &amp;&amp; [info exists ::ver($n)]} {      unset ::verNick($n)   }}proc moo {m h d mo y} {   if {[info exists ::ver]} {   foreach {n e} [array get ::ver] {      set t [lindex $e 0]      set u [lindex $e 1]      if {[unixtime] - $t &gt; 30} {         unset ::verNick($n)         newban "*!*[string range $u [string first "@" $u] end]" $::nick $::r 1         foreach c [channels] {            if {[botisop $c] &amp;&amp; [onchan $n $c]} {               putkick $c $n $::r            }         }      }   }} }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon Mar 14, 2016 6:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2016-03-13T09:52:35-04:00</updated>

		<published>2016-03-13T09:52:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104803#p104803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104803#p104803"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104803#p104803"><![CDATA[
<blockquote class="uncited"><div>This is one of the reasons why i love namespaces. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Too bad we don't have a "Like" button to click on posts.  This post deserves it.<br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Mar 13, 2016 9:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-03-13T04:11:59-04:00</updated>

		<published>2016-03-13T04:11:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104802#p104802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104802#p104802"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104802#p104802"><![CDATA[
This is one of the reasons why i love namespaces. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Mar 13, 2016 4:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-03-12T13:02:00-04:00</updated>

		<published>2016-03-12T13:02:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104799#p104799</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104799#p104799"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104799#p104799"><![CDATA[
simo: That is a global variable name collision between this script, and another one already loaded.<br><br>Try changing the variable name everywhere it's used in this script...<br>Search and replace all <strong class="text-strong">::ver(</strong> with <strong class="text-strong">::verNick(</strong><br><br>Example:<div class="codebox"><p>Code: </p><pre><code>proc foo {n u h c} {    if {[matchattr $h ovf|ovf]} return    set ::verNick($n) [list [unixtime] $u]    puthelp "privmsg $n :\001VERSION\001" } </code></pre></div>Continue replacing the variable name everywhere else in the script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Sat Mar 12, 2016 1:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2016-03-12T10:22:45-04:00</updated>

		<published>2016-03-12T10:22:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104798#p104798</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104798#p104798"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104798#p104798"><![CDATA[
for some reason this tcl returns this error when i use it :<br><blockquote class="uncited"><div>Tcl error [foo]: can't set "::ver(NICK)": variable isn't array</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Sat Mar 12, 2016 10:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MrBeta]]></name></author>
		<updated>2016-03-11T06:07:47-04:00</updated>

		<published>2016-03-11T06:07:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104796#p104796</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104796#p104796"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104796#p104796"><![CDATA[
Thank you SpiKe^^, works perfectly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12321">MrBeta</a> — Fri Mar 11, 2016 6:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[SpiKe^^]]></name></author>
		<updated>2016-03-10T17:52:54-04:00</updated>

		<published>2016-03-10T17:52:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104793#p104793</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104793#p104793"/>
		<title type="html"><![CDATA[Add time in minutes here...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104793#p104793"><![CDATA[
MrBeta: Try this....<br><br><br>Old Code:<div class="codebox"><p>Code: </p><pre><code>   newban "*!*[string range $u [string first "@" $u] end]" $::nick $::r </code></pre></div>New Code:<div class="codebox"><p>Code: </p><pre><code>   newban "*!*[string range $u [string first "@" $u] end]" $::nick $::r 5 </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7749">SpiKe^^</a> — Thu Mar 10, 2016 5:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MrBeta]]></name></author>
		<updated>2016-03-10T14:21:34-04:00</updated>

		<published>2016-03-10T14:21:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104792#p104792</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104792#p104792"/>
		<title type="html"><![CDATA[no version tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104792#p104792"><![CDATA[
Yes is a very old post but I have this useful tcl and wanted to know how to put a time of 5 minutes for ban<br> thank you<br><div class="codebox"><p>Code: </p><pre><code>set r "No client version reply!" bind join - * foo bind ctcr - VERSION bar bind time - * moo proc foo {n u h c} {    if {[matchattr $h ovf|ovf]} return    set ::ver($n) [list [unixtime] $u]    puthelp "privmsg $n :\001VERSION\001" } proc bar {n u h d k t} {    if {[isbotnick $d] &amp;&amp; [info exists ::ver($n)]} {       unset ::ver($n)    } } proc moo {m h d mo y} {    if {[info exists ::ver]} {    foreach {n e} [array get ::ver] {       set t [lindex $e 0]       set u [lindex $e 1]       if {[unixtime] - $t &gt; 30} {          unset ::ver($n)          newban "*!*[string range $u [string first "@" $u] end]" $::nick $::r          foreach c [channels] {             if {[botisop $c] &amp;&amp; [onchan $n $c]} {                putkick $c $n $::r             }          }       }    }} } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12321">MrBeta</a> — Thu Mar 10, 2016 2:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
