\ = backspace See http://164.90.245.28/wiki/Approx:Main_Page for documentation Commands (THIS DOCUMENTATION IS OUTDATED): # echo <string text> Echoes what you say, e.g.: >echo hello world. hello world. # add <any number of numbers> Adds every argument given. Arguments must be numbers, decimals are allowed though, e.g.: >add a b c VALUEERROR... ARGUMENT MUST BE NUMBER >add 1 2 3 6 # mul <any number of numbers> Multiplies every argument given. Arguments must be numbers, decimals are allowed though, e.g.: >mul a b c VALUEERROR... ARGUMENT MUST BE NUMBER >mul 1 2 4 8 # sqrt <number> Square roots the number. Arguments must be a number, no characters, e.g.: >sqrt abc VALUEERROR... ARGUMENT MUST BE NUMBER >sqrt 9 3 # loop <int iterations> <command> Runs `<command>` n times, where n is `iterations`. # randint <int min> <int max> Prints a random integer from the range `<min>` to `<max>` # random Prints a random number from 0 to 1. # set <string name> <value> Set a variable named `name` to `value`. # retrieve <string varname> Print out the value of a variable named `varname` # getto <string varname> <string command_name> <commandargs...> `getto` takes a variable name `varname`, the name of a command as `command_name`, and the rest of the arguments to the command `command_name` (excluding the first argument, that is reserved for the variable name), and processes the command: `<command_name> <varname's value> <commandargs...>`. # setto <string varname> <string command> Similar to `getto`, except it sets the value to the output of the command `<command>`. The value that `varname` is set to is outputted in the terminal. -------------- DRAW COMMAND-------------- The draw command has its own whole subset of commands. The draw command can run multiple things at once, separated by a period (".") mark, WITHOUT a space after the period, e.g. `draw color 1000.line 0 0 100 100` # pendown Puts the pen down. # penup Puts the pen up, not drawing anything. # goto <number x> <number y> Move the pen to the coords x and y # line <number x1> <number y1> <number x2> <number y2> Draws a line from the point (x1,y1) towards (x2,y2). # size <number px> Changes the pen draw radius from the current value to <px> pixels. # color <number color> Draws a color, where `color` is a hexadecimal value in decimal, e.g. red (#FF0000) is 16711680.
@kryptykfun for text printer, rest is me. Note that the username block is only used to check for my username to set the thumbnail!