- Thread Author
- #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:
Kind regards,
Lavaert
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:
JavaScript:
@Override
public void onLoop() {
for (Task task : TASKS) //TASKS being an array of Task child-objects.
if (task.activate()) {
task.execute();
}
}
Kind regards,
Lavaert