You are looking at a command called setprivate

setprivate {target} to {option}
or
setprivate {option} (to edit the room's privacy)

This allows you some privacy from intrusion, or makes a location a private place. Only those within the owner's friends list may pass the restriction.

Options:

allowall - Remove _private_ from the target's materials, thus allowing anyone to get to it via the go, goto, or into commands.

go - Clear the go restriction, while leaving alone the goto or into restrictions.

nogo - Set the go restriction. No object may go through an exit to a location with the go restriction unless it is on the owner's friends list,.

goto - Clear the goto restriction while leaving alone the go or into restrictions.

nogoto - Set the goto restriction. No object may goto a restricted object, nor to any object within its inventory, unless it is on the owner's friend's list.

into - Clear the into restriction while leaving alone the go or goto restrictions.

nointo - Set the into restriction. No object may use the into command to enter a restricted object, unless it is on the owner's friend's list. (not yet implemented)

rejectall - Set all above restrictions.

Related:

read the material called private

read the command called go

read the command called goto
Code