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

	<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-04-03T02:20:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[avggeek]]></name></author>
		<updated>2008-04-03T02:20:45-04:00</updated>

		<published>2008-04-03T02:20:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82137#p82137</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82137#p82137"/>
		<title type="html"><![CDATA[Another DCC Chat question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82137#p82137"><![CDATA[
<blockquote class="uncited"><div>If you used /ctcp &lt;bot&gt; chat, then simply type .fixcodes in the partyline.<br><br>And yes, you may have multiple hosts for a user record.  See .help, .help +host, .help -host, .help whois in the partyline.</div></blockquote>Thanks once again for the fixcode tip - that fixed it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>I've just corrected the hostmask problem - now TCL scripts!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9832">avggeek</a> — Thu Apr 03, 2008 2:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-04-03T02:11:06-04:00</updated>

		<published>2008-04-03T02:11:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82136#p82136</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82136#p82136"/>
		<title type="html"><![CDATA[Another DCC Chat question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82136#p82136"><![CDATA[
If you used /ctcp &lt;bot&gt; chat, then simply type .fixcodes in the partyline.<br><br>And yes, you may have multiple hosts for a user record.  See .help, .help +host, .help -host, .help whois in the partyline.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Apr 03, 2008 2:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avggeek]]></name></author>
		<updated>2008-04-03T02:14:21-04:00</updated>

		<published>2008-04-03T02:08:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82135#p82135</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82135#p82135"/>
		<title type="html"><![CDATA[Re: Another DCC Chat question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82135#p82135"><![CDATA[
<blockquote class="uncited"><div>You will not be able to chat your bot without a password set.  You must message your bot and set a password first.  ie. /msg &lt;bot&gt; pass &lt;pass&gt;<br><br>Also, your hostmask is incorrect... Hostmasks are of the form &lt;nick&gt;!&lt;ident&gt;@&lt;host&gt; .... You are missing the nick portion... You may want *!*@*, but as another note... this is highly insecure to set such a powerful user account to such a host.</div></blockquote>Thanks for pointing out the  problem! Once I fixed the hostmask the bot started responding <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">. The open mask was because I was getting a little frustrated and so was trying to get the bot to respond. I'll fix it now - although I do have one question - are host masks independent of users? <span style="color:red">So for example, if I use CZ at work and mIRC at home I could set up 2 masks for each?<br></span> Scratch that - I think my understanding of masks was off - atleast about the username portion.<br><br>Now if I could only get those wierd ANSI colour codes out of the way - I would be all set <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9832">avggeek</a> — Thu Apr 03, 2008 2:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-04-03T01:39:05-04:00</updated>

		<published>2008-04-03T01:39:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82133#p82133</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82133#p82133"/>
		<title type="html"><![CDATA[Re: Another DCC Chat question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82133#p82133"><![CDATA[
<blockquote class="uncited"><div>The bot can even see my commands in the party-line:<div class="codebox"><p>Code: </p><pre><code>[00:24:12] [balaji_dutt!n=chatzill@202.176.196.196] .help</code></pre></div>Again no response from the bot.</div></blockquote>This is probably simply the bot relaying what is privately messaged to him, that is not actually a user entering information on the partyline.<br><blockquote class="uncited"><div>I have my bot.user file set up as follows for this account:<br><div class="codebox"><p>Code: </p><pre><code>balaji_dutt - fjlmnoptvx              --HOSTS !*@*--XTRA created 1207124938</code></pre></div>As you can see there is no password and no host restriction.</div></blockquote>You will not be able to chat your bot without a password set.  You must message your bot and set a password first.  ie. /msg &lt;bot&gt; pass &lt;pass&gt;<br><br>Also, your hostmask is incorrect... Hostmasks are of the form &lt;nick&gt;!&lt;ident&gt;@&lt;host&gt; .... You are missing the nick portion... You may want *!*@*, but as another note... this is highly insecure to set such a powerful user account to such a host.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Thu Apr 03, 2008 1:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[avggeek]]></name></author>
		<updated>2008-04-03T01:27:26-04:00</updated>

		<published>2008-04-03T01:27:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82132#p82132</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82132#p82132"/>
		<title type="html"><![CDATA[Another DCC Chat question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82132#p82132"><![CDATA[
Unfortunately I've had to throw up my hands in defeat and ask yet another question about getting DCC Chat working.<br><br>I currently connect to IRC using ChatZilla from behind a transparent proxy (opening ports on the proxy is not an option). I am connecting to the Freenode network. I have been able to successfully initiate private chats with other users on the channel, but so far not with the bot.<br><br>Here are all the details I have been able to collect so far:<br><br>The <a href="http://forum.egghelp.org/viewtopic.php?t=10399" class="postlink">Help Us to Help You</a> thread suggested I try to get the bot to initiate a chat to me using <em class="text-italics">/CTCP &lt;Botname&gt; Chat</em>. Before I try that, the thread suggests checking three things:<br><br>Bot has it's IP address right - I have the following entries in my .conf file:<div class="codebox"><p>Code: </p><pre><code>set my-hostname "unixguru.us"set my-ip "69.90.127.132"</code></pre></div>Running a <a href="http://remote.12dt.com/" class="postlink">reverse IP lookup</a> shows that my setup does resolve properly.<br><br>There isn't a firewall issue - I ran a sockstats command when the bot is still running from the shell and I get the following output:<br><div class="codebox"><p>Code: </p><pre><code>-bash-2.05b$ sockstat -4 -lUSER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESStechnoba eggdrop- 67766    3 tcp4   69.90.127.132:51112   *:*technoba eggdrop- 67766    4 udp4   *:3795                *:*technoba eggdrop- 67766    5 udp4   *:4229                *:*</code></pre></div>I do know the first connection on port 51112 is the Bot telnet connection. The other UDP ports i assume are for DCC, based on my limited google-fu in this regard.<br><br>Is the bot behind a NAT - I ran ifconfig on my shell host account and this is  the output:<br><div class="codebox"><p>Code: </p><pre><code>-bash-2.05b$ ifconfigrl0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500        inet 69.90.127.130 netmask 0xffffff80 broadcast 69.90.127.255        inet6 fe80::20d:61ff:fe6e:957f%rl0 prefixlen 64 scopeid 0x1        inet 69.90.127.131 netmask 0xffffffff broadcast 69.90.127.131        inet [b]69.90.127.132[/b] netmask 0xffffffff broadcast 69.90.127.132</code></pre></div>The above seems to suggest to me that the bot is not behind a NAT.<br><br>In searching on the forums, I realized that users can initiate private chats on freenode only if they are registered, so I added the "Chanservneed" script to the conf file. Monitoring the bot connection via ./eggdrop -nt shows the following:<br><div class="codebox"><p>Code: </p><pre><code>[23:32:36] chanservneed: [Status] sending password to NickServ[23:32:36] -NOTICE- *** Your host is kubrick.freenode.net[kubrick.freenode.net/6667], running version hyperion-1.0.2b[23:32:36] -NickServ (NickServ@services.)- This nickname is owned by someone else[23:32:36] -NickServ (NickServ@services.)- If this is your nickname, type /msg NickServ IDENTIFY &lt;password&gt;[23:32:36] CTCP VERSION:  from freenode-connect (freenode@freenode/bot/connect)[23:32:38] -NickServ (NickServ@services.)- Password accepted - you are now recognized</code></pre></div>Since the channel is +m, I have autovoice on as well:<br><div class="codebox"><p>Code: </p><pre><code>[23:32:47] #tb-bottest: mode change '+v babble_bot' by ChanServ!ChanServ@services.</code></pre></div>I am trying to chat with the bot using a registered account named balaji_dutt. When I send /ctcp &lt;botname&gt; chat, this is what I see via telnet:<div class="codebox"><p>Code: </p><pre><code>[23:35:55] CTCP CHAT:  from balaji_dutt (n=chatzill@202.176.196.196)</code></pre></div>after this nothing happens. Typing /dcc-accept in Chatzilla says 0 incoming requests.<br><br>The bot can even see my commands in the party-line:<div class="codebox"><p>Code: </p><pre><code>[00:24:12] [balaji_dutt!n=chatzill@202.176.196.196] .help</code></pre></div>Again no response from the bot.<br>I have my bot.user file set up as follows for this account:<br><div class="codebox"><p>Code: </p><pre><code>balaji_dutt - fjlmnoptvx              --HOSTS !*@*--XTRA created 1207124938</code></pre></div>As you can see there is no password and no host restriction.<br><br>At this point, I'm not sure what else to check so anyone who has any advice - I'd be most grateful!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9832">avggeek</a> — Thu Apr 03, 2008 1:27 am</p><hr />
]]></content>
	</entry>
	</feed>
