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

	<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>2005-01-06T10:40:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2005-01-06T10:40:54-04:00</updated>

		<published>2005-01-06T10:40:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45059#p45059</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45059#p45059"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45059#p45059"><![CDATA[
thanks 'user'<br>than one worked just fine<br><br>i dunno, you experts would be lost without us newbies  <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=5705">arfer</a> — Thu Jan 06, 2005 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-01-05T23:14:41-04:00</updated>

		<published>2005-01-05T23:14:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45038#p45038</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45038#p45038"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45038#p45038"><![CDATA[
<blockquote class="uncited"><div>Thanks but I can't seem to get CHJN to work in the script as it currently stands, perhaps because there's a limitation on the flags allowed (one of *, +, @, %)<br><br>I'm not sure I follow this exactly. Would a flag setting of * mean that it only reports owner as having joined the partyline?</div></blockquote>That's not flags...that's the flag argument passed to the proc invoked by the bind...check '.help whois' for a list of flags. Use "-" in the bind to make it trigger no matter who joins the channel. (You did notice the number of arguments is differen, right?)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Jan 05, 2005 11:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2005-01-05T22:41:12-04:00</updated>

		<published>2005-01-05T22:41:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45033#p45033</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45033#p45033"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45033#p45033"><![CDATA[
Thanks but I can't seem to get CHJN to work in the script as it currently stands, perhaps because there's a limitation on the flags allowed (one of *, +, @, %)<br><br>I'm not sure I follow this exactly. Would a flag setting of * mean that it only reports owner as having joined the partyline?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Wed Jan 05, 2005 10:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2005-01-05T19:21:13-04:00</updated>

		<published>2005-01-05T19:21:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45013#p45013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45013#p45013"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45013#p45013"><![CDATA[
This must be a bug or due to lazyness...the console channel is reported to be "***" in a proc invoked by a CHON bind. As a workaround, use CHJN instead. (make the mask "0" if you only want to monitor people joining the partyline)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Jan 05, 2005 7:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2005-01-05T18:55:52-04:00</updated>

		<published>2005-01-05T18:55:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45010#p45010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45010#p45010"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45010#p45010"><![CDATA[
On second thoughts this doesnt seem to work<br><br>It notifies of leaving partyline, but not joining<br><br>Perhaps [lindex [console $idx] 0] is meaningless if i'm not already on the partyline<br><br>Can anybody help?<br><br># is notify off (0) or on (1) by default<br>set vNotifyStatus 1<br><br>bind CHON -|- * pNotifyOnline<br><br>proc pNotifyOnline {hand idx} {<br>  global vNotifyChannels<br>  global vNotifyStatus<br>  if {$vNotifyStatus == 1} {<br>    set vDefaultChannel [lindex [console $idx] 0]<br>    putserv "PRIVMSG $vDefaultChannel :[hand2nick $hand] \([getchanhost [hand2nick $hand]]\) joined the partyline \(idx $idx\)"<br>  }<br>}<br><br>bind CHOF -|- * pNotifyOffline<br><br>proc pNotifyOffline {hand idx} {<br>  global vNotifyChannels<br>  global vNotifyStatus<br>  if {$vNotifyStatus == 1} {<br>    set vDefaultChannel [lindex [console $idx] 0]<br>    putserv "PRIVMSG $vDefaultChannel :[hand2nick $hand] \([getchanhost [hand2nick $hand]]\) left the partyline"<br>  }<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Wed Jan 05, 2005 6:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2005-01-05T17:48:34-04:00</updated>

		<published>2005-01-05T17:48:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45007#p45007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45007#p45007"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45007#p45007"><![CDATA[
Cheers spock ... spot on<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Wed Jan 05, 2005 5:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2005-01-05T17:43:05-04:00</updated>

		<published>2005-01-05T17:43:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45006#p45006</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45006#p45006"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45006#p45006"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set c [lindex [console $idx] 0]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Wed Jan 05, 2005 5:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arfer]]></name></author>
		<updated>2005-01-05T17:22:10-04:00</updated>

		<published>2005-01-05T17:22:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=45004#p45004</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=45004#p45004"/>
		<title type="html"><![CDATA[Current console channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=45004#p45004"><![CDATA[
Can you tell me how to find the current console channel name programatically.<br><br>ie. The IRC channel that the bot would output a .say command to<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5705">arfer</a> — Wed Jan 05, 2005 5:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
