MUDL:get attr names
From SlothMUD Wiki
Summary
Function Name | get_attr_names |
---|---|
Settable | No |
Returns | String Array |
Parameter Options |
---|
None |
Config Index (integer) |
Filter (string) |
Config Index (integer), Filter (string) |
Config Parent (character, room, area), Config Index (integer) |
Config Parent (character, room, area), Config Index (integer), Filter (string) |
This function returns a list of KVP key names on the specified Parent or on the Parent of the current script if no parent is provided. If a Filter string is provided, only key names that start with the Filter string will be returned.
Example
setproc <parent> # on_foo foreach(get_attr_names(), %9, ( msg_room(%room, %9) )), return(true) @ setproc <parent> # PROC_ENABLED 1