Difference between revisions of "Bot test"

From Flowcode Help
Jump to navigationJump to search
Line 5: Line 5:
 
| width="10%" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="90%" | '''StringRead'''
 
| width="90%" | '''StringRead'''
 +
|-
 +
| colspan="2" | Returns the ASCII value of character idx of the Response string.
 
|-
 
|-
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]]
 
| width="10%" align="center" | [[File:Fc9-u8-icon.png]]
Line 10: Line 12:
 
|-
 
|-
 
| colspan="2" | Needs to be a equal to or less than the string length of the response in order to retrieve a valid character.
 
| colspan="2" | Needs to be a equal to or less than the string length of the response in order to retrieve a valid character.
 +
|}
 +
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" | '''SendScript'''
 +
|-
 +
| colspan="2" | Sends Script idx
 +
Note that the general property Number of Scripts needs to be set so that it allows the scripts to be accessed and sent.
 +
Returns 0 for success and 1 for error
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-u8-icon.png]]
 +
| width="90%" | idx
 +
|-
 +
| colspan="2" | Refers to the Script page to send (1-4).
 
|}
 
|}

Revision as of 13:50, 10 August 2021

Macro References

Fc9-comp-macro.png StringRead
Returns the ASCII value of character idx of the Response string.
Fc9-u8-icon.png idx
Needs to be a equal to or less than the string length of the response in order to retrieve a valid character.
Fc9-comp-macro.png SendScript
Sends Script idx

Note that the general property Number of Scripts needs to be set so that it allows the scripts to be accessed and sent. Returns 0 for success and 1 for error

Fc9-u8-icon.png idx
Refers to the Script page to send (1-4).