A script can return variables that it has set by declaring results:
result NAME : TYPE
Example:
result mac_address : string
It means that the script must set $mac_address
before
terminating, that it must be a string value, and that this variable
is available to the caller. All other variables assigned to by the
script are lost.
The same name can be used for both a parameter and a result.