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

	<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>2008-01-12T23:17:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-01-12T23:17:10-04:00</updated>

		<published>2008-01-12T23:17:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80007#p80007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80007#p80007"/>
		<title type="html"><![CDATA[DCC Console Settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80007#p80007"><![CDATA[
lol Thanks alot, great help. <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=8130">TCL_no_TK</a> — Sat Jan 12, 2008 11:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-12T12:34:50-04:00</updated>

		<published>2008-01-12T12:34:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79996#p79996</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79996#p79996"/>
		<title type="html"><![CDATA[DCC Console Settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79996#p79996"><![CDATA[
Ahh, sorry, guess I didn't read your post thorough enough.<br>Once you've got the idx, just use the console tcl command:<blockquote class="uncited"><div><strong class="text-strong">console</strong> <em class="text-italics">&lt;idx&gt;</em> <em class="text-italics">[channel]</em> <em class="text-italics">[console-modes]</em><br><span style="text-decoration:underline">Description:</span> changes a dcc user's console mode, either to an absolute mode (like "mpj") or just adding/removing flags (like "+pj" or "-moc" or "+mp-c"). The user's console channel view can be changed also (as long as the new channel is a valid channel).<br><span style="text-decoration:underline">Returns:</span> a list containing the user's (new) channel view and (new) console modes, or nothing if that user isn't currently on the partyline<br><span style="text-decoration:underline">Module:</span> core</div></blockquote>Of course, if you're in the making of a module, it would be far easier to simply access the dcc table, like illustrated in your previous post.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jan 12, 2008 12:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-01-11T22:42:34-04:00</updated>

		<published>2008-01-11T22:42:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79984#p79984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79984#p79984"/>
		<title type="html"><![CDATA[DCC Console Settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79984#p79984"><![CDATA[
R sorry  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> the .console &lt;#channel&gt; [args] settings. Seems the console module documents as well, didn't have anything on this.<br>I looked at some of the modules that have dcc commands like .op .kickban ...etc for how they return the users .console &lt;#channel&gt; and found <blockquote class="uncited"><div>dcc[idx].u.chat-&gt;con_chan</div></blockquote> dunno much about it, just read it and see that. <blockquote class="uncited"><div>    chan = findchan_by_dname(dcc[idx].u.chat-&gt;con_chan);<br>    if (chan)<br>      chn = chan-&gt;dname;<br>    else {<br>      dprintf(idx, "Invalid console channel.\n");<br>      return;</div></blockquote> hope this some help. Dosen't really make sense to me. :/ sorry <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Jan 11, 2008 10:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-11T10:43:50-04:00</updated>

		<published>2008-01-11T10:43:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79964#p79964</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79964#p79964"/>
		<title type="html"><![CDATA[DCC Console Settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79964#p79964"><![CDATA[
<blockquote class="uncited"><div><strong class="text-strong">hand2idx</strong> <em class="text-italics">&lt;handle&gt;</em><br><span style="text-decoration:underline">Returns:</span> the <em class="text-italics">idx</em> (a number greater than or equal to zero) for the user given if the user is on the party line in chat mode (even if she is currently on a channel or in chat off), the file area, or in the control of a script. -1 is returned if no <em class="text-italics">idx</em> is found. If the user is on multiple times, the oldest <em class="text-italics">idx</em> is returned.<br><span style="text-decoration:underline">Module:</span> <strong class="text-strong">core</strong></div></blockquote>Something like that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Jan 11, 2008 10:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2008-01-10T23:16:34-04:00</updated>

		<published>2008-01-10T23:16:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79950#p79950</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79950#p79950"/>
		<title type="html"><![CDATA[DCC Console Settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79950#p79950"><![CDATA[
Yo <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> looking for a way to return the console channel of a dcc user? looked at doc's file and couldn't find it. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Thu Jan 10, 2008 11:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
