Miscellaneous¶
CustomReport¶
Creates an item in the bots custom reports.
Syntax: CustomReport(key, value, [ group ], [ displayValue ])
Return type: Void
| Parameter Name | Parameter Type | Required | Suggestions |
|---|---|---|---|
| key | String | True | |
| value | Dynamic | True | |
| group | String | False | |
| displayValue | Boolean | False |
GetCommand¶
Gets a command by name.
Syntax: GetCommand(name)
Returns the command.
Return type: Dynamic
| Parameter Name | Parameter Type | Required | Suggestions |
|---|---|---|---|
| name | String | True |
GetType¶
Gets the data type of the input.
Syntax: GetType(value)
Returns the data type.
Return type: Enum
| Parameter Name | Parameter Type | Required | Suggestions |
|---|---|---|---|
| value | Dynamic | True |
HNC¶
HNC is an array on which match can be applied directly. This is not position with the lua code {}.
Syntax: HNC([ size ], [ value ])
Returns an array with or without values.
Return type: ListNumbers
| Parameter Name | Parameter Type | Required | Suggestions |
|---|---|---|---|
| size | Number | False | |
| value | Number | False |