ZcapsDetect
Returns true if the ratio of uppercase letters in the message meets or exceeds the threshold. Best used inside an onMessage event.
Syntax
ZcapsDetect{message?;threshold?}Arguments
| Name | Type | Required | Default |
|---|---|---|---|
| message | string | No | current message |
| threshold | number | No | 0.7 |
Example
ZcapsDetect{Zmessage;0.7}