To use the Pin as variable/input/output you can just easy use the name of the pins.

In this example we have three input pins and two output pins.
The name for the inputs are:
- In1
- In2
- In3
The names for the outputs are:
- Out1
- Out2

If Out1 should be linked to In1 you can type the following:
“Out1 = In1;”

And a simple add looks like these:
“Out2 = In2 + In3;”

If you have done everything correctly you should see a green line.
If this line is red, there is an issue in your script.

In the second line is the “;” missed at the end.

General use of scripting