Plugin : Function

Author:Rex.Rainbow

Download

Properties

Debug mode

  • Enable to show error message.
    • Options : ["Off","On"]

Actions

Function

Action:Call function

  • Call function.
    • Name ( string ) : Function name

Action:Execute commands

  • Execute commands.
    • Commands ( string ) : Commands

JS Function

Action:Inject a JS function object

  • Inject a JS function object.
    • Name ( string ) : JS function object name
    • Code ( string ) : JS function code

Action:Inject JS function objects

  • Inject JS function objects.
    • Code ( string ) : JS function code

Parameter

Action:Clean all parameters

  • Clean all parameters.

Action:Set a parameter

  • Set a parameter pass into function.
    • Index ( number or string ) : Index of parameter, can be number of string
    • Value ( number or string ) : Value of paramete

Result

Action:Set result

  • Set result.
    • Value ( number or string ) : Value of result

Return

Action:Clean all return values

  • Clean all return values.

Action:Set a return value

  • Set a return value.
    • Index ( number or string ) : Index of return value, can be number of string
    • Value ( number or string ) : Value of return value

Expressions

JS Function

Expression:Eval

  • Eval js code string.
    • "" ( string ) : Code string.

Parameter

Expression:Param

  • Get a parameter by index.
    • 0 ( number or string ) : The index of parameter to get, can be number of string.

Return

Expression:Ret

  • Get a return value by index.
    • 0 ( number or string ) : The index of return value to get, can be number of string.

Expression:Result

  • Get the result after a function called.

Expression:Call

  • Get the result from a function called.
    • Name ( string ) : Function name

Conditions

Function

Condition:On function

    • Name ( string ) : Function name