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

	<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>2004-05-15T15:55:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-05-15T15:55:06-04:00</updated>

		<published>2004-05-15T15:55:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36362#p36362</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36362#p36362"/>
		<title type="html"><![CDATA[A little perplexed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36362#p36362"><![CDATA[
I have enabled strict-host on all bots and am testing the script using -nocase on the RH bot. Results so far without a host showing the tilde are good, I'm not getting *!*user@ this time but what I wanted, *!user@. On all bots, a user added showing the tilde is added as *!?user@ which seems to be fine also. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Danke<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat May 15, 2004 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-05-09T00:51:48-04:00</updated>

		<published>2004-05-09T00:51:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36219#p36219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36219#p36219"/>
		<title type="html"><![CDATA[A little perplexed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36219#p36219"><![CDATA[
<blockquote class="uncited"><div>Check your "strict-host" settings in your eggdrop conf files...</div></blockquote># Set this to 1 if you don't want your the bot to strip a leading '~' on<br># user@hosts.<br>set strict-host 0<br><br>Same setting in all bots (*BSD &amp; RH).<br><br>*Edited*<br><br>To my mind, what works under one version of Linux should work the same on another version.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun May 09, 2004 12:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-08T20:27:28-04:00</updated>

		<published>2004-05-08T20:27:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36217#p36217</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36217#p36217"/>
		<title type="html"><![CDATA[A little perplexed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36217#p36217"><![CDATA[
Check your "strict-host" settings in your eggdrop conf files...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat May 08, 2004 8:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-05-08T19:14:14-04:00</updated>

		<published>2004-05-08T19:14:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36216#p36216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36216#p36216"/>
		<title type="html"><![CDATA[A little perplexed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36216#p36216"><![CDATA[
I am currently testing eggdrop v1.6.16+rc1 on a RH Linux 2.4.21-9.0.3.EL box (not mine) (TCL 8.5a1) and use a public commands script (mine) with it.  This same script is used on other bots (eggdrop v1.6.15) on FreeBSD 5.2-CURRENT accounts (TCL 8.4).<br><br>The perplexing bit is that if I use the inline -nocase command on the RH bot script, the hostmask of an added user is altered from what I get, and desire, in the FreeBSD bots (*!<a href="mailto:user@host.domain">user@host.domain</a>).  On RH it's altered to *!*<a href="mailto:user@host.domain">user@host.domain</a>.<br><br>With the exception of -nocase, the script used under FreeBSD and the one used under RH is identical.<br><br>Below are bits of the code using -nocase:<br><br>} elseif {[string match -nocase {aop} $cmd]} {<br>set thehost "[stricthost $thenick $chan]"<br>adduser $thenick $thehost<br>..............<br>}<br># stricthost - masks a strict hostname<br><br>proc stricthost {host chan} {<br><br>    set strict 0<br>    if {[string index $host 0] == "!"} {<br>        set host [string range $host 1 end]<br>        set strict 1<br>    }<br>    if {![string match "*!*@*" $host]} {<br>        set addhost "$host![getchanhost $host $chan]"<br>        if {$strict == 0} {<br>            set addhost [maskhost "*$addhost"]<br>        } else {<br>            if {[string index $addhost 0] == "~"} {set addhost "*[string range $addhost 1 end]"}<br>            set addhost "*!$addhost"<br>        }<br>        set host $addhost<br>    }<br>    return $host<br>}<br><br>Would this problem be just a Red Hat "thing" or, is there a workaround?<br><br>Thanks in anticipation. <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=3646">Alchera</a> — Sat May 08, 2004 7:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
