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

	<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>2010-04-23T23:04:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Darien]]></name></author>
		<updated>2010-04-23T23:04:29-04:00</updated>

		<published>2010-04-23T23:04:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92906#p92906</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92906#p92906"/>
		<title type="html"><![CDATA[I want to send message to IRC channel from shell script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92906#p92906"><![CDATA[
Hi folks, <br><br>I'm running Eggdrop v.  1.6.19. I can log in via putty without any issues, but whenever I try the .say command to get it to send a msg to an IRC channel that the bot sits in, I get the "What? You need .help!" <br><br>I tried .say partyline &lt;txt&gt; (though I wasn't sure how that was going to direct it to a particular channel)<br>and .say &lt;channel&gt; &lt;txt&gt;, both instances got me the error.<br><br>Any additional help/instruction on this would be greatly appreciated!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11184">Darien</a> — Fri Apr 23, 2010 11:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dopeghoti]]></name></author>
		<updated>2010-03-29T18:03:03-04:00</updated>

		<published>2010-03-29T18:03:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92638#p92638</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92638#p92638"/>
		<title type="html"><![CDATA[I want to send message to IRC channel from shell script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92638#p92638"><![CDATA[
If you really need to do an automated task from the commandline, you can do what I did and use Python's telnet library to do the telnetting for you:<br><div class="codebox"><p>Code: </p><pre><code>import telnetlibHOST="localhost"PORT="3333"BOTUSER="username"BOTPASS="password"CHANNEL="#channel"def botcmd(b, command):        return b.write("." + command + "\n")bot=telnetlib.Telnet(HOST,PORT,60)bot.read_until("ckname.")bot.write(BOTUSER + "\n")bot.read_until("word.")bot.write(BOTPASS + "\n")bot.read_until("joined the party line.",2)botcmd (bot, "say " + CHANNEL + " Python interaction test.")print "Check " + CHANNEL + " for test output."botcmd (bot, "quit")bot.close()</code></pre></div>You can even make it interactive if you want, but at that point, you may as well telnet in yourself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11153">dopeghoti</a> — Mon Mar 29, 2010 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2010-03-24T17:09:44-04:00</updated>

		<published>2010-03-24T17:09:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92593#p92593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92593#p92593"/>
		<title type="html"><![CDATA[I want to send message to IRC channel from shell script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92593#p92593"><![CDATA[
In your bot.conf:<div class="codebox"><p>Code: </p><pre><code># You need to un-comment this line and change the port number in order to open# the listen port. You should not keep this set to 3333.listen YOURPORT all</code></pre></div>Then, you'll need a telnet client like putty (Putty docs page <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/docs.html" class="postlink">here</a>). You can also access the command console via DCC.<br>Take a look at <a href="http://www.egghelp.org/using.htm" class="postlink">http://www.egghelp.org/using.htm</a><br><br>Once you're connected to the bot:<blockquote class="uncited"><div>Use .help for basic help.<br>Use .help &lt;command&gt; for help on a specific command.<br>Use .help all to get a full command list.<br>Use .help *somestring* to list any help texts containing "somestring".</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Wed Mar 24, 2010 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pasingh]]></name></author>
		<updated>2010-03-22T12:53:10-04:00</updated>

		<published>2010-03-22T12:53:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92566#p92566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92566#p92566"/>
		<title type="html"><![CDATA[I want to send message to IRC channel from shell script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92566#p92566"><![CDATA[
oh ok, Thanks for reply, can you please explain me how can i telnet my eggdrop on specific port. where i need to change, or any good URL for the same. and how can i use .say party line.<br><br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11144">pasingh</a> — Mon Mar 22, 2010 12:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-03-22T11:18:08-04:00</updated>

		<published>2010-03-22T11:18:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92559#p92559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92559#p92559"/>
		<title type="html"><![CDATA[I want to send message to IRC channel from shell script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92559#p92559"><![CDATA[
There's no simple way of doing this using a shellscript...<br>You could however use the telnet client to connect to your eggdrop, and from there use the .say partyline command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Mar 22, 2010 11:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pasingh]]></name></author>
		<updated>2010-03-22T06:33:27-04:00</updated>

		<published>2010-03-22T06:33:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92557#p92557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92557#p92557"/>
		<title type="html"><![CDATA[I want to send message to IRC channel from shell script.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92557#p92557"><![CDATA[
Hi All,<br><br>I want to send message to IRC channel from shell script, I have installed eggdrop bot on my Laptop, I want to sent message to a channel from my laptop. <br><br>Please help me !!!<br><br>Thanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11144">pasingh</a> — Mon Mar 22, 2010 6:33 am</p><hr />
]]></content>
	</entry>
	</feed>
