We can fill a mel/python command in input or output of sentence, this allow your Maya scene interactive with your agents or allow your agents trigger Maya do something.
The sentence language will be:
It only support predefined procedure or functions
For example:
Note: the return value of this command should be ONE float value, or otherwise, it will not work properly.
This also can be output sentence, for example something happened we execute a mel/python command.
Python command in output (predefined function)
And if we specify 2 functions, we can split it with "?" and when node activate it will run 1st function, otherwise run 2nd function
2 Python commands in output run when node active or deactivate (predefined function)