Skip to content

[Help] Getting a return value from lua #110

@Beanzilla

Description

@Beanzilla

I have a lua script like below:

return {
    answer = 42,
    ok = true
}

I'd like to retrieve the table that the script has returned, I've seen the other issue #101, and I don't quite understand how to obtain the return value.

Perhaps I need an example of how to access it.

Just a short example will do, as once I see it I am sure I'll be able to work my way to understanding how to do it for further cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions