#Can I save predefined text in a macro?
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 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
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
Wdym?
??
Basically I would like to store in a variable a text that is defined in the command
Yes
Instead of with storage x, you just put that data right there, e.g. {my_macro: 7}
Can you write an example command that uses this functionality for inspiration please?
/function whatever {something:"some text"}
then in the function, you can use $(something) and it will replace it with some text
Ah ok :D
Yup, you got it
Niice thx
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