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

	<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>2002-10-16T07:40:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-10-16T07:40:50-04:00</updated>

		<published>2002-10-16T07:40:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12018#p12018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12018#p12018"/>
		<title type="html"><![CDATA[Invited or not? - that is the question...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12018#p12018"><![CDATA[
Yeah .. as has already been pointed out to me the mode trick may not work with most ircD's - I assumed it did, 'cos of the way eggdrop does it internally... back to good old fashioned<div class="codebox"><p>Code: </p><pre><code>dprintf(DP_SERVER, "INVITE %s %s\n", pNick, pChan-&gt;name);</code></pre></div>methinks.<br><br>the point of passing it across the botnet was this.<br><br>Bot clank sits in #Clank, bot clunk sits in #clunk. Both channels are +i, and the user in question is an op/voice in both of them. When this user auths with Clank, then he will get invited to #Clank and #Clunk without having to seperately auth with both Clank and Clunk. Make sense?<br><br>What I could do, of course is pass across the botnet the channels I have already invited the user to. Makes life easier I suppose.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Wed Oct 16, 2002 7:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-10-16T07:18:32-04:00</updated>

		<published>2002-10-16T07:18:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12016#p12016</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12016#p12016"/>
		<title type="html"><![CDATA[Invited or not? - that is the question...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12016#p12016"><![CDATA[
Well some networks I believe use a channel mode for invites, but another way could be to pick a random bot (not too hard to code) and make just that one bot do the invite. On efnet at least, you will get invites from every user/bot that invites you. On a large botnet that would be very messy, not to mention unnessesary.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Wed Oct 16, 2002 7:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-10-15T07:59:20-04:00</updated>

		<published>2002-10-15T07:59:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=11995#p11995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=11995#p11995"/>
		<title type="html"><![CDATA[Invited or not? - that is the question...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=11995#p11995"><![CDATA[
Hi .. this may be one for the official mail list, but we'll see...<br><br>I'm writing a piece of code to invite users to any invite only channels the bot knows about as they auth. I'm doing this with a piece of code such as the following :<br><div class="codebox"><p>Code: </p><pre><code>if (u_addinvite(chan, invite, from, cmt, expire_time,sticky))      add_mode(chan, '+', 'I', invite);</code></pre></div>Thing is I'm then telling all the other bots on the net to invite the user to any channels they know of the user in that are invite only... so if there are two bots in the same channel, then there stands a chance of the user getting two invites to the same channel.<br><ul><li>1. Is this dangerous? or just messy? I couldnt see any safety in u_addinvite to prevent this happening. I'm assuming ircD has the sense not to print a 'user invited you to #blah' message twice... although it IS a different user... hmm.<br><br>2. How can I tell if a user already has an invite to this channel? After searching the tellinvite (display invites on channel code) I got a bit confused - I know how to find the invites section in the channel structure, but I'm not sure how you tell what relates to whom...</li></ul><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Tue Oct 15, 2002 7:59 am</p><hr />
]]></content>
	</entry>
	</feed>
