Returning simple string from simple lua function

Surely simple :slight_smile:

Yields:

image

… not just hello

What am I missing?

NIck

Oh. You need the brackets.

${myTest()}

:blush:

Yep and don’t forget a return statement as well!

function myTest()
  local text = "hello"
  return text
end

or directly

function myTest()
  return "hello"
end