scractch all the stuff you have put up here, I may have a simpler way to do this...
First it needs the random timer, for speaking
that would be this I think
alias -l brandtime {
var %lowtime = 100 | ; quickest duration between messages (in seconds)
var %hightime = 500 | ; longest duration between messages (in seconds)
return $rand(%lowtime,%hightime)
}
then just do the roll random number out of the number of moods
and have it set to do if 1 then read happy
if 2 then read sad
nd display 1 line from it at random intervals in the room