brain

Settable:
yes
Arguments:
(1) object
(2) character
(3) room
Return Value:
integer array

Returns the array of (permanent) brain values for an old-style proc on the object, mob, or room. Returns a zero-length array if there isn't any brain array there. To set or view the temporary brain values, see tbrain.

This function is settable using the standard technique for setting array functions. That is, to set the 3rd value of the brain of the room that %a is in to 7, you would say

   set(brain(room(%a))[3],7)