mqscript_while
Create While loop structures in MQScript to repeatedly execute code blocks while specified conditions remain true, enabling automated mobile device control through conditional repetition.
Instructions
Create a While loop structure
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | Loop body code | // Loop body |
condition | Yes | Loop condition |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"default": " // Loop body",
"description": "Loop body code",
"type": "string"
},
"condition": {
"description": "Loop condition",
"type": "string"
}
},
"required": [
"condition"
],
"type": "object"
}