get_attr

Settable:
no
Arguments:
(1) string
(2) character, string
(3) object, string
(4) integer, string
(5) character, integer, string
(6) object, integer, string
Return Value:
string

Returns the value of a KVP attribute on a character or object. If no character or object is specified (forms 1 and 4) then the character or object bearing the currently executing MUDL script is used. If an integer is given, then that is the index of the KVP proc for which the parameter is set (the numbering scheme is just like that used by the 'setproc' command); otherwise the currently executing MUDL script's proc is used, or if that's not an option then the first MUDL proc on the object or character is used.