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

	<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>2006-01-16T20:20:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-16T20:20:22-04:00</updated>

		<published>2006-01-16T20:20:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59464#p59464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59464#p59464"/>
		<title type="html"><![CDATA[error rehash]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59464#p59464"><![CDATA[
thx Good staff thx u very much<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Mon Jan 16, 2006 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-16T19:37:56-04:00</updated>

		<published>2006-01-16T19:37:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59463#p59463</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59463#p59463"/>
		<title type="html"><![CDATA[error rehash]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59463#p59463"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {"" == [info commands maskhost_old]} { ;#only rename if its not already done  rename maskhost maskhost_org}</code></pre></div>should be<div class="codebox"><p>Code: </p><pre><code>if {"" == [info commands maskhost_org]} { ;#only rename if its not already done  rename maskhost maskhost_org}</code></pre></div>and<div class="codebox"><p>Code: </p><pre><code>if {"" == [info commands maskhost_old]} { return }</code></pre></div>should be<div class="codebox"><p>Code: </p><pre><code>if {"" == [info commands maskhost_org]} { return }</code></pre></div>but that maskhost_remove proc is not being used in this script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jan 16, 2006 7:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pilouuu]]></name></author>
		<updated>2006-01-16T18:36:11-04:00</updated>

		<published>2006-01-16T18:36:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59462#p59462</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59462#p59462"/>
		<title type="html"><![CDATA[error rehash]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59462#p59462"><![CDATA[
hi and thx for all help<br><br>when I type .rehash my bot crash with the reason:<br><blockquote class="uncited"><div>can't rename to "maskhost_org": command already exists<br>     while executing<br> "rename maskhost maskhost_org"<br>     invoked from within<br> "if {"" == [info commands maskhost_old]} { ;#only rename if its not already done<br>   rename maskhost maskhost_org<br> }"<br>     (file "scripts/hostqnet.tcl" line 20)<br>     invoked from within<br> "source scripts/hostqnet.tcl"</div></blockquote>the tcl<br><div class="codebox"><p>Code: </p><pre><code>############################################ maskhost.tcl#  by Elven &lt;elven@elven.de&gt;#  under the GNU/GPL#  http://www.gnu.org/copyleft/gpl.html##  Overwrites "maskhost" to support#  efficient Quakenet-Mask bans.##  To remove the script without restart-#  ing the bot, run 'maskhost_remove'.##  You can easily add support for more#  masks/hosts/networks by adding more#  if {}s.###########################################if {"" == [info commands maskhost_old]} { ;#only rename if its not already done  rename maskhost maskhost_org}proc maskhost {host} {  #Quakenet  if {[string match -nocase "*.users.quakenet.org" $host]} {    set rhost [lindex [split $host @] 1]    if {$rhost == ""} { return [maskhost_org $host] } ;#let the original thing worry about that    return "*!*@${rhost}"  }    return [maskhost_org $host]}proc maskhost_remove {} {  catch { info body maskhost } res_mask  if {"" == [info commands maskhost_old]} { return }  rename maskhost ""  rename maskhost_org maskhost  rename maskhost_remove ""}</code></pre></div><br>For what? because when I restart my eggdrop it restart without error.Error only detected on type .rehash<br><br>Thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7153">pilouuu</a> — Mon Jan 16, 2006 6:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
