Even if they suck you can still release them, may be fun. Or what I usually do when a mod of mine isn't very good I still release it but just don't make a public topic for it.
Functions can return values like this:
function IsLostInSpaceCool()
return false
end
Then doing this as a simple example:
if IsLostInSpaceCool() then
TextPrintString("Yes",1,1)
else
TextPrintString("No",1,1)
end
-- Would print "no" if run.
You can return any type of value you want from a function by simply using return followed by a value/expression.
Using return makes the function end too and return to the point in the script that the function was called.