Switch to edit mode.
Name(s): fv1: "Copied from trebuchet (#2773):fv Jun 21 23:35:48 2003"
2: name = args[1]
3: results = ""
4: objects = {this, this.location, @valid(this.location) ? this.location:contents() | {}, @this:contents(), @this.features}
5: for thing in (objects)
6: if (valid(thing) && (mom = $object_utils:has_verb(thing, name)))
7: results = results + " " + thing.name + "(" + tostr(thing) + ")"
8: mom = mom[1]
9: if (thing != mom)
10: results = results + "--" + mom.name + "(" + tostr(mom) + ")"
11: endif
12: endif
13: endfor
14: if (results)
15: this:tell("The verb :", name, " is on", results)
16: else
17: this:tell("The verb :", name, " is nowhere to be found.")
18: endif