Node Framework in RuneMate

Discussion in 'Programming & Hardware' started by Pruxis, Oct 23, 2015.

  1. Hi Community,

    I have made bots in the past in different communities and have always prefered the Node / Task framework.
    I was just wondering how the onLoop actuality functions.

    As I used to do the following in other clients:
    Code (Javascript):
    1. @Override
    2.     public void onLoop() {
    3.         for (Task task : TASKS) //TASKS being an array of Task child-objects.
    4.             if (task.activate()) {
    5.                 task.execute();
    6.             }
    7.     }
    Kind regards,
  2. TaskScript exists within runemate
    Derk likes this.

Share This Page