#Can I save predefined text in a macro?

1 messages · Page 1 of 1 (latest)

mossy heath
#

Can I save predefined text in a macro?

wide crescentBOT
#

<@&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:1738865542: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: #1336391567484649543

lavish salmon
#

Wdym?

mossy heath
#

??

lavish salmon
#

What do you mean

#

I do not understand the question

mossy heath
#

Basically I would like to store in a variable a text that is defined in the command

bleak scarab
#

Yes

#

Instead of with storage x, you just put that data right there, e.g. {my_macro: 7}

mossy heath
#

Can you write an example command that uses this functionality for inspiration please?

lavish salmon
#

/function whatever {something:"some text"}

then in the function, you can use $(something) and it will replace it with some text

mossy heath
#

Ah ok :D

lavish salmon
#

Yup, you got it

mossy heath
#

Niice thx

wide crescentBOT
# mossy heath Niice thx
🎗️ Is your question resolved?

If your question is resolved, that's great to hear! Make sure to run /resolve or click the Resolve Question button. Otherwise, feel free to continue asking for help! :D

wide crescentBOT
#

-# Error resolving this thread.

#
Question Closed

Your question, #1337116187120893993 (Can I save predefined text in a macro?), was resolved!

Original Message

#1337116187120893993 message

Duration open

3d28m