User Tools

Site Tools


lgscript:keysrv

KeySrv

TryToUseKey

Test a key on an object and unlock it if valid. Usage can be open (1), close (2), check (3) or nil for the default action.

Returns boolean success
Parameter integer key
Parameter integer object
Parameter string or integer usage (optional)
lgscript/keysrv.txt · Last modified: 2009/08/25 22:05 (external edit)