Return
return ends the sub it is in. The script goes on with the line after the
gosub that called it.
Parameters
Section titled “Parameters”| Parameter | Meaning |
|---|---|
value |
Optional. A value or expression to put in #Result. Without it, #Result reads N/A. |
A return that is not inside a sub called with gosub does nothing at all, and leaves #Result as it was.
Example
Section titled “Example”gosub lowercase #CharNameevent sysmessage My name is #Resulthalt
; returns its first parameter in lower casesub lowercase str lower %1return #StrResSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.