<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Fineness &amp; Accuracy]]></provider_name><provider_url><![CDATA[https://finenessandaccuracy.wordpress.com]]></provider_url><author_name><![CDATA[Scott Madin]]></author_name><author_url><![CDATA[https://finenessandaccuracy.wordpress.com/author/smadin/]]></author_url><title><![CDATA[A thing I made: 2edStatBot, for all your Twitter old-school RPG&nbsp;needs.]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>I&#8217;ve been toying with the idea of, and over the weekend finally got around to finishing, a silly little Twitter bot, <a href="http://twitter.com/2edStatBot">2edStatBot</a>, which generates a set of AD&amp;D 2nd Edition stats — old school, 3d6 in order — picks a class recommendation based on a not-very-sophisticated algorithm (re-rolling if it can&#8217;t find a recommendation, which in practice means if every stat came out below 9), and tweets the result, every ten minutes:</p>
[tweet https://twitter.com/2edStatBot/status/295908019101917184]
<p>The code is basically just Darius Kazemi&#8217;s <a href="http://tinysubversions.com/2012/05/how-i-built-metaphor-a-minute/">Metaphor-a-Minute</a>, except with all the metaphor-related guts replaced by random-number-related guts, and like Darius&#8217;s bots, it&#8217;s running on <a href="nodejitsu.com">Nodejitsu</a> (in fact, since Nodejitsu requires apps to respond to HTTP requests, I figured that endpoint might as well do the same thing as the Twitter bot, so if you want, you can <a href="http://2edbot.nodejitsu.com">go get a D&amp;D character</a> there, too).</p>
<p>I&#8217;ll upload the source code here shortly; it&#8217;s rather hacky but it works. I should probably put it on some public source control repository or something, but I never did figure out git. At some point I plan to make it respond to mentions, so you could tweet &#8220;@2edStatBot roll me a ranger&#8221; and it would respond with an appropriate set of stats.</p>
<p><strong>Update 2013-12-25:</strong> Well, I <em>finally</em> got around to figuring out github and uploading the 2edStatBot source, nearly eleven full months after the bot went live. Whoops! Here it is, if you&#8217;d like to take a look: https://github.com/smadin/2EdStatBot</p>
]]></html></oembed>