First, your function name should have () at the end.
Second, the value after 'endfunction' is the return value. In your case, your function will return the value of the variable labeled 'money'.
Third, to call your function just write the function name in your code.
Example:
`call all three functions
money()
print functionThatReturnsValue()
print functionThatAddsNumbers(8,3)
wait key
end
`declare functions at end of program
function money()
print "hi"
endfunction
function functionThatReturnsValue()
x=8+3
endfunction x
function functionThatAddsNumbers(x,y)
answer=x+y
endfunction answer