blob: 6ba82ed5b3926a9fe7205eaa91e5763339fb77c0 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS:
2 string object_name()
3 string object_name(object ob)
4
5DESCRIPTION:
6 Get the file name of an object or if no argument is given of the current
7 object. If the object is a cloned object, then it will not have a
8 corresponding file name, but rather a new name based on the original
9 file name.
10
11 The returned name always begins with '/' (absolute path),
12 except when the parser runs in COMPAT (-o) mode.
13
14EXAMPLES:
15 find_object(object_name(ob)) == ob
16 This is guaranteed to be true for all objects ob that are not
17 destructed.
18
19 sizeof(explode(object_name(ob), "#")) == 1
20 This is always true if ob is a blue print.
21
22SEE ALSO:
23 find_object(E)
24
2529.10.2006 Zesstra
26