#(uncvr) Quick inject question
14 messages · Page 1 of 1 (latest)
(uncvr) Quick inject question
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
- inject thing
file does not matter
!c inject
queue
inject [<script>] (path:<name>) (instantly)
Runs a script in the current queue.
Injects a script into the current queue.
This means this task will run with all of the original queue's definitions and tags.
It will also now be part of the queue, so any delays or definitions used in the injected script will be accessible in the original queue.
wait, so to inject there has to be a pice of script inside a dsc file with type task, and the name of that task is the thing that I put after inject or no?
I have a task
COOLDOWN_ITEM:
type: task
script:
- flag player <[material]>.cooldown expire:<[time]>s
- itemcooldown <[material]> d:<[time]>s
inside the Tasks.dsc file, to inject do I just inject COOLDOWN_ITEM or inject Tasks?