Secure Description

An object with a description that only shows up to those found in a list of DBREFs.

Author: Unknown
Category: Other
Commands: @create, @describe.
Functions: get(), iter(), switch(), v().

Instructions

Copy and paste the below code into a compatible MUSH or MUX.

MUSHCode for Secure Description

@create Secure_Descs
@describe Secure_Descs=[iter(v(DESC_LIST),[switch(%#,##,get(REALDESC))])]
&DESC_LIST Secure_Descs=#23603
&REALDESC Secure_Descs=You may read my desc.
&REMARK Secure_Descs=Only players listed in the DESC_LIST attribute may read this player's description, which is actually in the REALDESC attribute. Everyone else will receive a blank.