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

	<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>2013-01-30T22:22:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mcdarby]]></name></author>
		<updated>2013-01-30T22:22:00-04:00</updated>

		<published>2013-01-30T22:22:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100855#p100855</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100855#p100855"/>
		<title type="html"><![CDATA[Trouble with a ctcp join channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100855#p100855"><![CDATA[
Okay, after checking a few things including .channel to see who and what is being recognized as what userfile entry, it turns out I have to question how this eggdrop is reading it. Apparently, I have an A entry after an S entry showing up in .match * and I had an AllUser entry with *!*@* for the host and had +U to three different channels. I believe the reason I have that entry is because I was using the +U flag with another tcl script to kick ban on spammy links in certain channels while exempting those on my userfile. After temporary deleting that and re-adding that, which appears to put it at the end of the .match * output, it seems to fix the recognition problem. I have to check the .conf again and sees if there is an entry in it for alphabetizing the userfile and I may have to start using ZZ- entries if it is reading the userfile from beginning to end, to try to fix any conflicts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1594">mcdarby</a> — Wed Jan 30, 2013 10:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-01-30T20:20:16-04:00</updated>

		<published>2013-01-30T20:20:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100854#p100854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100854#p100854"/>
		<title type="html"><![CDATA[Trouble with a ctcp join channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100854#p100854"><![CDATA[
<blockquote class="uncited"><div>... <br>Anything else doesn't seem to work even though I have the client added to the bot with the matching hostmask. Also doesn't seem to op the client when I put +n and +a global flags to it and have client join the channel the bot is op in. I attempted to reinstall the bot in case something is wrong, but that did not appear to fix it.</div></blockquote>I really question that the bot recognizes you.<br><br>Try this:<br>Join a channel that the bot is in.<br>In the partyline, do:<br>.channel #channel<br>and view the results.   Find yourself.   Examine the info... if the bot recognizes you there will be a big N just to the right of the Join time, and left of the Idle time column.<br><br>Perhaps someone else will also jump in here with ideas for you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Jan 30, 2013 8:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mcdarby]]></name></author>
		<updated>2013-01-30T19:43:11-04:00</updated>

		<published>2013-01-30T19:43:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100853#p100853</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100853#p100853"/>
		<title type="html"><![CDATA[Trouble with a ctcp join channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100853#p100853"><![CDATA[
Okay, there is something really wrong here, I tried your script and it seems to only work when I have -|- for the bind flag. Anything else doesn't seem to work even though I have the client added to the bot with the matching hostmask. Also doesn't seem to op the client when I put +n and +a global flags to it and have client join the channel the bot is op in. I attempted to reinstall the bot in case something is wrong, but that did not appear to fix it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1594">mcdarby</a> — Wed Jan 30, 2013 7:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2013-01-30T05:47:03-04:00</updated>

		<published>2013-01-30T05:47:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100837#p100837</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100837#p100837"/>
		<title type="html"><![CDATA[Re: Trouble with a ctcp join channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100837#p100837"><![CDATA[
<blockquote class="uncited"><div>I'm having a bit of trouble, I'm trying to script it so that when a ctcp from a +A global flag user is sent to the bot that is "join #channel", </div></blockquote>I suspect that the ctcp command must be one word.<blockquote class="uncited"><div>the bot should set -inactive for that channel and join the channel. </div></blockquote>While you can set channel options when adding a channel, it isn't necessary if you want -inactive, as that is the default.<br><br>Experiment with this:<div class="codebox"><p>Code: </p><pre><code>bind ctcp A|- "JOIN" secallchanproc secallchan {nick uhost hand dest keyword text} {set chantojoin [lindex [split $text] 0]channel add $chantojoin}</code></pre></div>I tested it briefly, and it worked.<br><br>You can play around with substituting in these lines, for the current <br>"channel add" line:<div class="codebox"><p>Code: </p><pre><code>channel add $chantojoin +inactive</code></pre></div><div class="codebox"><p>Code: </p><pre><code>channel add $chantojoin -inactive</code></pre></div>I hope this helps.<br><br>Reference:<br><a href="http://www.eggheads.org/support/egghtml/1.6.21/tcl-commands.html" class="postlink">http://www.eggheads.org/support/egghtml ... mands.html</a><br><a href="http://www.peterre.info/characters.html" class="postlink">http://www.peterre.info/characters.html</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Jan 30, 2013 5:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mcdarby]]></name></author>
		<updated>2013-01-30T02:55:55-04:00</updated>

		<published>2013-01-30T02:55:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100833#p100833</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100833#p100833"/>
		<title type="html"><![CDATA[Trouble with a ctcp join channel script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100833#p100833"><![CDATA[
I'm having a bit of trouble, I'm trying to script it so that when a ctcp from a +A global flag user is sent to the bot that is "join #channel", the bot should set -inactive for that channel and join the channel. The script I have that doesn't seem to work is currently this and I'm not sure what I'm doing wrong after I have tried a number of things.<br><div class="codebox"><p>Code: </p><pre><code>bind ctcp A|- "join-chan *" secallchanproc secallchan {nick uhost hand dest keyword text} {    set chantojoin [lindex $keyword 1]    channel set $chantojoin -inactive}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1594">mcdarby</a> — Wed Jan 30, 2013 2:55 am</p><hr />
]]></content>
	</entry>
	</feed>
