Subject: How about this for a built-in...

From: [email-masked]
Date: Wed, 7 Oct 1992 08:09:00 -0700

How about a built-in that goes something like this:

  get_task_info()

  get_task_info() takes a task id as an argument and returns certain
  information on the given queued task in the following format:

    { task id, start time, ticks, clock_id, programmer, verb 
      location, verb name, line, `this' }

  [precisely the same information from queued_tasks()]

  If the task does not exist, E_ARGS is returned.

  If the task is owned by another player and the caller is not a 
  wizard, E_PERM is returned.

Seth / Blackbriar

---

From: Judy Anderson <[email-masked]>
Date: Wed, 7 Oct 1992 14:09:00 -0700

q = queued_tasks();
index = task_id() in $list_utils:slice(q,1);
if (index)
  return q[index];
else
  return E_ARGS;
endif