User
Provides user-based functions.
Functions
Function | Description |
---|---|
SetClipboard | Sets the user's clipboard to the provided value. |
User:SetClipboard(value)
Sets the user's clipboard to the provided value. The exact behavior of this feature can be modified by the user.
Parameters
Parameter | Type | Description |
---|---|---|
value | string | The string to copy to the user's clipboard |
Returns | boolean
Indicates if setting the clipboard was immediately successful.
Usage
script.lua
User:SetClipboard("Hello, clipboard!")