setidentity, setthreadcontext, set_thread_identity.
Parameters
number
required
The identity level to set.
Example
Errors
Related
getthreadidentity: read the current identity.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set the current thread identity.
setthreadidentity(identity: number) -> ()
setidentity, setthreadcontext, set_thread_identity.
setthreadidentity(2)
print(getthreadidentity()) -- 2
| Message | Condition |
|---|---|
the identity to set is not a number | Argument 1 was not a number. |
getthreadidentity: read the current identity.