#Is there a way to define the output of a command has what a function returns without terminating it?

1 messages · Page 1 of 1 (latest)

fierce crane
#

Is there a way to define the output of a command has what a function returns without terminating the function?

low ruinBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1727214367:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1286434615824744630

pale ridge
#

No
But depending on what you wish to achieve there may be ways

plain flax
#

Probably the best way is to set that value on a score and then return from that score at the end of the function

#

If I've understood correctly

fierce crane
#

Ok, thanks.