Variables
unlock
$unlock — Releases a lock taken with $tryLock
Releases a lock taken with `$tryLock`.
Syntax
$unlock[name]
Parameters
- name (text, required) — The lock name.
Return Value
- Empty.
Usage
$unlock[forge]
Important Notes
- Releasing a lock that is not held does nothing.
Example
$unlock[forge]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.