<div>I just discovered Bots Inc. and am trying to render some of the lessons within Etoys.</div><div><br></div><div>In Bots Incs. when you click on a Bot a balloon pop&#39;s up and when you enter text and hit &lt;return&gt; the text you entered is executed.</div>
<div>How can I execute a command (do it) on &lt;return&gt;?</div><div><br></div><div>Also, I have a script that on mouse over prints:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><div>Im a Bot.</div><div>My position is: 769.5@452.5</div><div>and my direction is:34.3357941965284</div></div></blockquote><div><br></div><div>How do I print integers or specify that I only want 2 digits to the right of the decimal point? (Below is my script).</div>
<div><div>script1</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>| tmpStr |</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>tmpStr := &#39;Im a Bot.\My position is: &#39; withCRs , self getLocation printString , &#39;\and my direction is:&#39; withCRs , self getHeading printString.</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>self sayText: tmpStr</div></div><div><br></div><div>Thanks,<br>Stephen</div>