Author Topic: Help! How do I loop a command in the Blockland console?  (Read 772 times)

Help! How do I loop a command in the Blockland console?

Quote from: Truce
This would be the setup to repeat talking Hello! every 1000 ms (1 second):

Code: [Select]
function rc() { talk("Hello!"); $rc = schedule(1000,0,rc); }

To start it:

Code: [Select]
rc();

To stop it:

Code: [Select]
cancel($rc);