Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Robot Script Interpreter

Recommended Posts

Easily move your robot using very short commands!


The code above demonstrates how your robot will do:


move forward 5 times, go left, forward, left, and repeat all 10 times.

By only one line of command!

Easily import the source code:

local rim = require('<this file>').interpret
rim('ud') -- Go up and down

E.g robot excavation:

rim('32(15(16(xf)lfl)15(xf)xd2l)', robot.swingDown)

Digs 16x16 area (all swingDown), 32 blocks deep.


Documentation is inside the source code (head).




- Added local scope to everything.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.