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

	<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>2007-10-06T09:01:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-06T09:01:36-04:00</updated>

		<published>2007-10-06T09:01:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76414#p76414</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76414#p76414"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76414#p76414"><![CDATA[
Not quite, it's part of the same mechanics...<br>The join-time is tracked on a "person-basis", while the Last-seen field is directly tied to the handle. And last seen is also pretty much only updated on events such as join/part/quit/kick/etc.<br><br>Ideal? Probably not, but been way too long since I dug into that part of the code :p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Oct 06, 2007 9:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paulm]]></name></author>
		<updated>2007-10-06T07:46:45-04:00</updated>

		<published>2007-10-06T07:46:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76412#p76412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76412#p76412"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76412#p76412"><![CDATA[
<blockquote class="uncited"><div>However, as I recall, adding hosts through the setuser interface won't cause a new scan for auto-op/auto-voice.</div></blockquote>This seems to be case. So the HOSTS part of setuser is pretty useless atm at least for auto-opping/-voicing <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br>So I'll add the auto-* myself in the routine because doing a reset on the channel every time would cause quite a lot of traffic and is oversized...<br><br>btw: Did you notice that the LAST entry of the .match output says "Never" whereas the JOIN entry of .channel sows the time the user joined? eggdrop seems to be schizophrenic as on part of him knows that the user once joined the channel and the other part denies it. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9262">paulm</a> — Sat Oct 06, 2007 7:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-06T07:31:33-04:00</updated>

		<published>2007-10-06T07:31:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76410#p76410</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76410#p76410"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76410#p76410"><![CDATA[
Well, whenever .channel output shows the correct handle, it basically means that your eggdrop does indeed recognize him/her.<br><br>However, as I recall, adding hosts through the setuser interface won't cause a new scan for auto-op/auto-voice.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Oct 06, 2007 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paulm]]></name></author>
		<updated>2007-10-06T06:05:03-04:00</updated>

		<published>2007-10-06T06:05:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76407#p76407</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76407#p76407"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76407#p76407"><![CDATA[
Here some further info:<br><br>When I create a new user, the user record looks like this:<div class="codebox"><p>Code: </p><pre><code>[11:22][0t(dcc)] dadida    no       0 -               never (nowhere)[11:22][0t(dcc)]    #channel         v               never[11:22][0t(dcc)]   QAUTH: dadida</code></pre></div>After joining the channel the HOSTS are set correctly by my script:<div class="codebox"><p>Code: </p><pre><code>[11:23][0t(dcc)] HANDLE    PASS NOTES FLAGS           LAST[11:23][0t(dcc)] dadida    no       0 -               never (nowhere)[11:23][0t(dcc)]    #channel         v               never[11:23][0t(dcc)]   HOSTS: *Miranda@p5498EF15.dip.t-dialin.net[11:23][0t(dcc)]          *!*@dadida.users.quakenet.org[11:23][0t(dcc)]   QAUTH: dadida</code></pre></div>When I do a ".channel" the user is being displayed with the 'v':<div class="codebox"><p>Code: </p><pre><code>[11:24][0t(dcc)]  NICKNAME     HANDLE     JOIN  IDLE  USER@HOST[11:24][0t(dcc)]  dadida       dadida    11:22 v 2m  ~Miranda@p5434EF43.dip.t-dialin.net</code></pre></div>The channel itself has +autovoice (working on other users with fixed hosts) but user "dadida" isn't autovoiced.<br>Disturbingly, when I manually do a ".+host dadida *<a href="mailto:Miranda@p5498EF15.dip.t-dialin.net">Miranda@p5498EF15.dip.t-dialin.net</a>" (the same mask as already in HOSTS) he suddently gets voiced by the bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9262">paulm</a> — Sat Oct 06, 2007 6:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paulm]]></name></author>
		<updated>2007-10-05T18:55:16-04:00</updated>

		<published>2007-10-05T18:55:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76400#p76400</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76400#p76400"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76400#p76400"><![CDATA[
k, I will consider switching to lists - thanks for the hint!<br><br>The user's nickname is shown as associated with eggdrop's handle when I perform ".channel". But although the channel is "+autovoice" and other users get autovoiced the users that are recognized by Quakenet authentication through my script don't get these rights.<br>Whenever someone joins I do a whois on the nickname. Raw330 occurs when a whois on the nickname results in some positive Quakenet authentication. So the routine is called some time after the user joined the channel.<br>As I said, althoug the HOSTS information is shown correctly when I ".match" the handle it won't be recognized until I re-add one of the hostmasks using the ".+host" command on the partyline.<br><br>edit: typo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9262">paulm</a> — Fri Oct 05, 2007 6:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-10-05T17:47:58-04:00</updated>

		<published>2007-10-05T17:47:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76399#p76399</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76399#p76399"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76399#p76399"><![CDATA[
Apart from using lindex on strings rather than lists, the code seems proper enough.<br>Just to clarify; does your bot list the user as recognized in .channel output after the host-update?<br>Your bot will not voice the user upon entering the channel, or after the host-update?<br><br>Also, I'm not familiar with the 330 raw numeric...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Oct 05, 2007 5:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paulm]]></name></author>
		<updated>2007-10-05T16:49:10-04:00</updated>

		<published>2007-10-05T16:49:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76397#p76397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76397#p76397"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76397#p76397"><![CDATA[
The problem occurs regularly so doing a resetchan every time isn't an option.<br>This is the routine für Raw330, could you have a look at it?<div class="codebox"><p>Code: </p><pre><code>proc whois {from key text} {   set nick "[lindex $text 1]"   set auth "[lindex $text 2]"   foreach listnick [userlist *] {     if { $auth == [getuser $listnick XTRA QAUTH] } {       setuser $listnick HOSTS       if { [string trimleft [getchanhost $nick] ~] != "" } {         setuser $listnick HOSTS *!*[string trimleft [getchanhost $nick] ~] }       foreach host [getuser $listnick XTRA STATICHOSTS] {         setuser $listnick HOSTS $host       }       setuser $listnick HOSTS *!*@$auth.users.quakenet.org     break     }   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9262">paulm</a> — Fri Oct 05, 2007 4:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-10-05T15:14:48-04:00</updated>

		<published>2007-10-05T15:14:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76395#p76395</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76395#p76395"/>
		<title type="html"><![CDATA[RE: New hostmask set by setuser ...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76395#p76395"><![CDATA[
Try re-reading the information from the server, can be done via .resetchan #channel or making the bot cycle. This isn't usally a problem, but sometimes the bot can be desynced. And if all else fails, just have the user cycle <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Oct 05, 2007 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paulm]]></name></author>
		<updated>2007-10-05T13:58:26-04:00</updated>

		<published>2007-10-05T13:58:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76394#p76394</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76394#p76394"/>
		<title type="html"><![CDATA[New hostmask set by setuser doesn't seem to be recognized]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76394#p76394"><![CDATA[
Hi,<br><br>I got a problem adding hostmasks using setuser. <br>Once my script verified that a user is authed to Q, all hosts associated with the user are cleared (I call "setuser &lt;user&gt; HOSTS" without argument) and sets two new hosts (using setuser). When I do a ".match user" the hosts seem to be set correcty. But eggdrop doesn't seem to recognize them (e.g. it isn't autovoicing the user). <br>Funny thing is: When I add one of the two hosts manually using ".+host" eggdrop suddenly recognizes the user.<br>Is there a need to commit the changes of HOSTS using setuser or what else is wrong?<br><br>paulm<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9262">paulm</a> — Fri Oct 05, 2007 1:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
