Testlock (MPI)
From Tapestries MUCK
(Difference between revisions)
Line 1: | Line 1: | ||
- | [[Category:MPI functions]] | + | [[Category:MPI functions]][[Category:MPI Database Related Functions]] |
=testlock= | =testlock= | ||
<mpi>{testlock:obj,prop} | <mpi>{testlock:obj,prop} |
Revision as of 00:44, 31 March 2007
testlock
{testlock:obj,prop} {testlock:obj,prop,who} {testlock:obj,prop,who,def}
Tests the lock property 'prop', on 'obj' against the given player 'who'.
If no 'who' argument is given, then it checks the lock against the using player.
If a def argument is given, then the lock will default to that value, if there is no lock property of the given name on the given object. Returns true if the lock is locked against the player.