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

	<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-10-20T19:08:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-10-20T19:08:00-04:00</updated>

		<published>2001-10-20T19:08:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=913#p913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=913#p913"/>
		<title type="html"><![CDATA[How do I check if a user is known to my bot?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=913#p913"><![CDATA[
+f users are recognized by their hostmasks just like other users. There's no logging in unless you have some sort of auth script running.<br><br>In your script, you can pass the 'f' flag to bind and it will only respond to +f users. Or, in your procs, you can test if they have +f with matchattr (see tcl-commands.doc).<br><br>So your topic changing thing would be sort of like this:<div class="codebox"><p>Code: </p><pre><code>bind pub f !topic my_set_topicproc my_set_topic {nick uhost hand chan text} {  putserv "TOPIC $chan :$text (set by $nick)"  return 1  # the 1 makes eggdrop log this command in the logfile}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Oct 20, 2001 7:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-10-20T16:55:00-04:00</updated>

		<published>2001-10-20T16:55:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=911#p911</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=911#p911"/>
		<title type="html"><![CDATA[How do I check if a user is known to my bot?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=911#p911"><![CDATA[
Hey everybody,<br><br>I'd like to add functionality to my bot so that users known to the bot can for example change the topic. Those users will be +f (friends) only.<br><br>Can anybody please tell me how to do this (if possible with some code or a reference to a already exsisting script) and how can +f users log in?<br><br>Thanks for reading sofar,<br><br>Vinz.<p>Statistics: Posted by Guest — Sat Oct 20, 2001 4:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
