Execute_CustomMobileMessagePool
Description
Randomly selects and sends a CustomMobileMessage from a pool. Messages on cooldown are skipped; if all are on cooldown, the least recently sent message is chosen (excluding the very latest).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Reference entity; sender and receiver are determined by MobileMessageParties |
| S1 | CustomMobileMessagePoolId (linked to CustomMobileMessagePool.json) |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Send a random message from the daily conversation pool | Self | CustomMobileMessagePool | DailyChat_Pool_001 |
| Send a random greeting message from the greeting pool | Self | CustomMobileMessagePool | Greeting_Pool_01 |
| Send a random event message from the event message pool | Self | CustomMobileMessagePool | EventMessage_Pool_01 |
Back to Command FinderSearch and filter all 399 Script Execution documents