FutureProg functions
setlockpattern
setlockpattern overload 1
Boolean setlockpattern(Item item, Number pattern)
Available in
- computer function
- computer program
- standard futureprog
Sets the matching pattern on a key or an item's built-in lock. Matching lock types and nonzero patterns are required to unlock.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The key or built-in lock to configure |
pattern |
Number |
A whole pattern number; zero removes its key pairing |