In case anyone else encountered this problem. You have to edit your function and check the "has return value" box. Then your return will work. After this you have to use "Call Function" again and now you have a new field for saving results.
How to do math functions
-
I was wondering how I can add or subtract a variable from a given number.
My script gets a number from a website using the "get text" option. I want to take that number and subtract it from a given value.
For example I tried making a variable, using the set variable option.
[[Number to use]] = 20 - [[number extracted from website]]
However this doesn't work so could somebody point me in the right direction. ThanksEdit: I found the solution, just had to change the variable type to an "expression" instead of a string.