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

	<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-08-04T15:56:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-08-04T15:56:05-04:00</updated>

		<published>2004-08-04T15:56:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39478#p39478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39478#p39478"/>
		<title type="html"><![CDATA[Creating a 'logged in' user list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39478#p39478"><![CDATA[
simple, add extra flags to it's bot's user with "xtra"<blockquote class="uncited"><div>getuser &lt;handle&gt; &lt;entry-type&gt; [extra info] <br>    Description: an interface to the new generic userfile support. Valid <br>      entry types are: <br>        BOTFL   - returns the current bot-specific flags for the user <br>                  (bot-only) <br>        BOTADDR - returns a list containing the bot's address, telnet port, <br>                  and relay port (bot-only) <br>        HOSTS   - returns a list of hosts for the user <br>        LASTON  - returns a list containing the unixtime last seen and the <br>                  last seen place. LASTON #channel returns the time last <br>                  seen time for the channel or 0 if no info exists. <br>        INFO    - returns the user's global info line <br>        XTRA    - returns the user's XTRA info <br>        COMMENT - returns the master-visible only comment for the user <br>        EMAIL   - returns the user's e-mail address <br>        URL     - returns the user's url <br>        HANDLE  - returns the user's handle as it is saved in the userfile <br>        PASS    - returns the user's encrypted password <br>    Returns: info specific to each entry-type</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Aug 04, 2004 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shanks]]></name></author>
		<updated>2004-08-04T15:39:54-04:00</updated>

		<published>2004-08-04T15:39:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39475#p39475</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39475#p39475"/>
		<title type="html"><![CDATA[Creating a 'logged in' user list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39475#p39475"><![CDATA[
Ok I need some help - I'm trying to think of how to do this, but I can't - (Once I know 'how' to do it, I should be able to code most of it myself, it's just working out what is the best way of doing it)<br><br>What will happen: A user can /msg mybot login user pass<br><br>The bot then checks the username and password against a mysql database (this bit I've done fine) - if user/pass dont' match obviously it does nothing.<br><br>However, if the user + pass is accepted, I want the bot to add that person (the guy who logged in) to a user list.<br><br>When another proc is called, I want it to message every one who is in the user list.<br><br>when the person leaves a specific channel they get removed from the user list - if they change names it keeps them on the user list (but obviously with a new name so it'll need to be changed).<br><br>I'm not sure what would be the best way of doing this - with an array? A database table? A file?<br><br>Also, but the bit about getting the bot to message every one who is logged in.. not sure about that bit either.<br><br><br>Any help / ideas offered for this are much appreciated.<br>Thanks,<br><br>- shanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3686">shanks</a> — Wed Aug 04, 2004 3:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
