If you set global variables (start with a $), you can check them out from the Ruby Console by typing them in. This'll work during the sim, and global variables will also stay behind afterwards. Btw, forgot to say the normal joint controller field also takes ruby code (Any blue field will). You can use a ';' to mark line breaks where there's only a single line to type in.