title: How do I create a javascript elite planet name generator?
body: <p>I try to convert <a href="http://lpmuds.net/smf/index.php?topic=488.0" rel="nofollow">Tricky's script</a> (that generates a name from elite) to javascript here: </p>
  
  <p><a href="https://github.com/rubo77/eliteNameGen/blob/master/elite.js" rel="nofollow">https://github.com/rubo77/eliteNameGen/blob/master/elite.js</a></p>
  
  <p>But I get stuck at this <a href="http://en.wikipedia.org/wiki/LPC_programming_language" rel="nofollow">LPC</a>-code by Tricky:</p>
  
  <pre><code>digrams=ABOUSEITILETSTONLONUTHNO..LEXEGEZACEBISOUSESARMAINDIREAERATENBERALAVETIEDORQUANTEISRION
  ...
  pairs = digrams[24..&lt;1];
  ...
  names[0..&lt;2]
  </code></pre>
  
  <p>I couldn't find a manual to LPC that would explain this syntax.</p>
  
  <p>In the End I want to create a javascript, that creates a random planet name from the old C64 game Elite.</p>
  
  <p>I also found a <a href="https://github.com/jabbalaci/Elite/blob/9eeea969ee275a83563f1cbb2d94faf2daa14190/pyplanets.py" rel="nofollow">python version</a>, (but that seems a bit more complicated to me) </p>