Method code for $builder._ar__claim()

[Turn on line numbering]
arg args, opts, request;
var n, id, s, cmt;

n = request.group().name();
id = request.id();
if (request.claimed_on()) {
    .tell(n + " Action Request #" + id + " has already been claimed by " + request.claimed_by().namef('ref));
    s = (> .prompt("Reclaim it in your name? [no] ") <);
    if (!s || s.is_boolean() == 0)
        return "** Aborting.";
}
.tell(request.format());
s = (> .prompt("Claim this " + n + " Action Request? [yes] ") <);
if (s.is_boolean() == 0)
    return "** Aborting.";
.tell("** Enter any remarks, or nothing for no remarks.");
cmt = .read("** Enter \".\" to finish or \"@abort\" to abort claiming.");
if (type(cmt) != 'list)
    return;
if (cmt)
    request.add_comment(cmt);
request.claim();
return "** You have claimed " + n + " Action Request #" + id;

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark