Task - Cancel Task (Effect) — SkBee
Addon: SkBee · Category: Effect · Since: 3.3.0
Syntax
(stop|cancel) task[s] with id[s] %numbers%Description
Stop a task by ID. If running Folia, this effect will do nothing.
Examples
run 0 ticks later repeating every second:
set {-id} to current task id
add 1 to {_a}
if {_a} > 10:
exit loop
on break:
stop task with id {-id}