MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: Bultin prop flags



At 5:40 PM 5/20/96, Isildur wrote:
>Is there any way to protect builtin properties?
>I mean parent, location, owner,name...

'parent' is not a "property".  It's accessed through a builtin function, so
if you want to protect that, wiz parent() and code $bf_parent() to do all
the perm checks you want, and also take a look at children() and
chparent().

>They has no flags.
>There is $server_options.protect_name that allows to protect
>names, but this is -r and -w, i think.

That protects any builtin property, for example
$server_options.protect_location, set to a true value, -r's the "location"
prop.  ("location" is already -w.)

>I not, why not?
>Might be useful to avoid players changin their own names.

Players already can't change their own names.  Read the programmer's manual.

Phantom

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCPAzEtexUAAAEEALPfu202DEwxLQ96BwKL5liDPzdCVox/iSbc201h5oTzLGmT
v1PU+TmeS/lEtTvVe5WVZ3iDjjKDcoWwc1MRmbCMMVosywXEiXoLqWBTj+hlcKXA
//TpyK4RRBZodr6eFesy2wSphpXTtJnIduKMDP0XuVgcrOILMUa1Zcdw+pa1ABEB
AAG0LVJpY2hhcmQgQ29ubmFtYWNoZXIgPHBoYW50b21AYmF5bW9vLnNmc3UuZWR1
Pg==
=iME4
-----END PGP PUBLIC KEY BLOCK-----




Follow-Ups:

Home | Subject Index | Thread Index