← Back to Command Directory ← Back to Home

/return

Stops function execution and optionally returns a value.

Syntax

/return
/return <value>

Parameters

NameRequiredDescription
valueNoInteger return value.

Examples

/return 1

Notes

Version Differences

Java-only in current editions (newer versions).

Related Commands