Bots Demo with added Lua scripting to allow dynamic manipulation of simulation parameters.
Press Enter to start entering lua script and execute with Enter.
Input load <filename> to load lua script from specified file instead.
Check here for available bindings and here for premade scripts.