List<ScriptEntry> listOfEntries = getBaseEntries(new BukkitScriptEntryData(player, npc));
if (context != null)
ScriptBuilder.addObjectToEntries(listOfEntries, "context", context);
queue.addEntries(listOfEntries);
queue.delayUntil(System.currentTimeMillis() + (long) (delay.getSeconds() * 1000));
queue.start();
return queue;
}
public ScriptQueue injectTaskScript(String queueId, dPlayer player, dNPC npc, Map<String, String> context) {