NLDoCommand function

Repeats execution of a command in the referenced NetLogo instance a defined number of times.