Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Can we assign a value to a result ?

Hello, I have a simple question for macros : Can we assign a value to a result ? Why this question ? I want a result to be used automatically in another jet. For example : / gr 1d6 = 2 '2' -> "Resultalt" / gr 1d "Result" + 10 = 11 Explanation: I roll 1D6, and I get '2'. This '2', I would like to use it again in my second jet just below. So I assigned the value "Result" to '2'. I hope I made myself understood, English is not my native language ^^ ' Best Regards, Albator7884
1590751335
Ziechael
Forum Champion
Sheet Author
API Scripter
Absolutely you can: [[ 1d[[1d6]] +10 ]]
I use the [[ ]] all the time, and I hadn't even paid attention to this way of doing it ... ; _ ; I thank you !
1590752898
Ziechael
Forum Champion
Sheet Author
API Scripter
You are most welcome, happy rolling :)