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

	<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>2001-11-25T23:12:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-25T23:12:00-04:00</updated>

		<published>2001-11-25T23:12:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2052#p2052</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2052#p2052"/>
		<title type="html"><![CDATA[secure auth tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2052#p2052"><![CDATA[
The 2 "if" statments to not check for all values that could be set in $a. This is probably where the problem lies.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Nov 25, 2001 11:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-25T22:27:00-04:00</updated>

		<published>2001-11-25T22:27:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2050#p2050</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2050#p2050"/>
		<title type="html"><![CDATA[secure auth tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2050#p2050"><![CDATA[
Yeah I can't figure out where is the problem. The script suppose to retrieve record from $hand XTRA auth [host] &amp; delete the hostmask on quit but it won't work. It doesn't output the putcmdlog "AUTH: Temporary hostmask $tmphost removed from $hand." too<br><br>The partial script was strip from auth.tcl v1.2 by bommer which can be obtain in slennox's tcl page. Do you want me to paste the whole script here?<p>Statistics: Posted by Guest — Sun Nov 25, 2001 10:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-11-25T08:18:00-04:00</updated>

		<published>2001-11-25T08:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2025#p2025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2025#p2025"/>
		<title type="html"><![CDATA[secure auth tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2025#p2025"><![CDATA[
You claim the script is flawed.<br><br>WHat exactly is wrong with it, or what errors do you get?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Nov 25, 2001 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-11-25T03:05:00-04:00</updated>

		<published>2001-11-25T03:05:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2018#p2018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2018#p2018"/>
		<title type="html"><![CDATA[secure auth tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2018#p2018"><![CDATA[
I got this secure auth tcl script written by Bommer which works perfectly on eggdrop 1.6.4 but flawed on 1.6.5/1.6.6. It couldn't detect handles on quit <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":sad:" title="Sad"><br>here's the partial code.<br>Assume $auth_clones=0<br><br>*snip*<br><br>bind sign - * sign_auth<br>foreach u [userlist] { setuser $u XTRA auth 0 }<br>proc sign_auth {nick host hand chan reason} {<br>  global auth_clones<br><br>  if { $hand == "*" } { return 0 }<br>  set a [getuser $hand XTRA auth]<br>  if { $a &gt;= 1 } {<br>    if { $auth_clones == 1 &amp;&amp; [getuser $hand XTRA authnick] != $nick } {<br>      putcmdlog "AUTH: clone signoff ($nick != $hand)"<br>      return 0<br>    }<br>    if { $a == 2 } {<br>      set tmphost "*![getuser $hand XTRA authhost]"<br>      delhost $hand $tmphost<br>      putcmdlog "AUTH: Temporary hostmask $tmphost removed from $hand."<br>      setuser $hand XTRA auth 0<br>    }<br>  }<br>}<br><p>Statistics: Posted by Guest — Sun Nov 25, 2001 3:05 am</p><hr />
]]></content>
	</entry>
	</feed>
