🔔 when (event) do (statement)
Run statements when an event occurs.
Requires the following blocks to be present in the project: mastodon login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
event | any | ✓ | The event to bind to. |
statement | statements… | ✓ | The statements to run when the event is received. |
Output
void - This is a statement with no outputs