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

	<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>2018-09-30T15:49:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[grawity]]></name></author>
		<updated>2018-09-30T15:49:43-04:00</updated>

		<published>2018-09-30T15:49:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107089#p107089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107089#p107089"/>
		<title type="html"><![CDATA[How do I get Eggdrop to do an SASL login ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107089#p107089"><![CDATA[
<blockquote class="uncited"><div>Also, notice that the script uses  $username ?        <br>Go look in the main part of your working eggdrop.conf, and be sure it is set correctly.</div></blockquote>You can set <em class="text-italics">sasl-user</em> to anything you want, instead of using the $username default.<br><blockquote class="uncited"><div>My friend discovered something interesting.  <br>His bot would not load... errored out with error that it couldn't accept bind type raw .<br><br>Discovered that he had to load these script AFTER loading alltools.tcl .<br><br>I have no idea why, as I thought alltools was just a bunch of procs to create some handy commands, whereas the   bind raw   type is (I thought) part of TCL itself.</div></blockquote>I don't know why alltools would be required. I have never used it in my bots; the bind always worked on a barebone eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10610">grawity</a> — Sun Sep 30, 2018 3:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2018-09-21T10:54:35-04:00</updated>

		<published>2018-09-21T10:54:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107079#p107079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107079#p107079"/>
		<title type="html"><![CDATA[Re: How do I get Eggdrop to do an SASL login ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107079#p107079"><![CDATA[
Note:<br><br>My friend discovered something interesting.  <br>His bot would not load... errored out with error that it couldn't accept bind type raw .<br><br>Discovered that he had to load these script AFTER loading alltools.tcl .<br><br>I have no idea why, as I thought alltools was just a bunch of procs to create some handy commands, whereas the   bind raw   type is (I thought) part of TCL itself.<br><br>Anyway - I'd loaded these scripts and the corresponding config lines, at the very bottom of bot's working eggdrop.conf,  so I didn't encounter the problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Sep 21, 2018 10:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2018-09-21T10:55:49-04:00</updated>

		<published>2018-09-21T10:51:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107078#p107078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107078#p107078"/>
		<title type="html"><![CDATA[How do I get Eggdrop to do an SASL login ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107078#p107078"><![CDATA[
Just had an interesting chat with a friend who use Amazon Web Service - AWS - shell to house his eggdrop bot.  <br><br>And he was trying to make that bot connect to Freenode.<br><br>Freenode balked, wouldn't let his bot connect,  saying that an SASL connection was required.<br><br>So we looked around, and found some info online, etc.<br><br>I don't have an AWS account, but I tried it on a bot of mine that is on Freenode.   Works fine.  Bot logs in and ids with Nickserv.   <br><br>Here's what I did:<br><br>1.)   Go here:   <a href="https://nullroute.eu.org/~grawity/journal-2013.html" class="postlink">https://nullroute.eu.org/~grawity/journal-2013.html</a><br>and scroll down, or text search and find: SASL authentication in Eggdrop<br>and read those three paragraphs.<br>Not absolutely necessary, but it helps.  <br><br>2.) Go here:  <a href="https://gist.github.com/grawity/4455067" class="postlink">https://gist.github.com/grawity/4455067</a><br><br>Read some.<br><br>Then find two tcl scripts there:<br><a href="https://gist.github.com/grawity/4455067#file-g_base64-tcl" class="postlink">https://gist.github.com/grawity/4455067 ... base64-tcl</a><br>and<br><a href="https://gist.github.com/grawity/4455067#file-g_cap-tcl" class="postlink">https://gist.github.com/grawity/4455067#file-g_cap-tcl</a><br><br>On the right side of the page of each, click on the    Raw    button.<br>That opens another page, and it is plain text.    I simply right clicked, got a pop up menu, chose Select All to highlight, and copied.<br>Then I went to shell,  creating new text file with nano, and pasted.<br>Saved.   <br>That's how I created each of those two .tcl files.  <br><br>3.)  Have a look at them.  <br><br>One of them must be loaded before the other.  Pay attention.  <br><br>Also, one of them has a few lines of configuration.   Actually, you must copy them over to your working eggdrop.conf.   I simply pasted them just below the source lines that load the two scripts.  <br><br>I edited only one line in this section :   # password for PLAIN<br>You'll see.<br><br>Also, notice that the script uses  $username ?        <br>Go look in the main part of your working eggdrop.conf, and be sure it is set correctly.<br><br>That's it.  <br><br>I .restarted bot, and watched.  It logged on to Freenode, and did the SASL thing, and was id'd with NickServ.    Worked first time.   <br><br>I hope this helps somebody.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Sep 21, 2018 10:51 am</p><hr />
]]></content>
	</entry>
	</feed>
