Hi everyone, I recently found that it was possible to predefine answers in a macro then erase those infos with rolls. I pretty sure that this is not clear, so here is my example : -> I wanted to have a function that toss a coin, then if HEAD then effect 1, otherwise TAIL then effect 2 : ``` &{template:default} {{name=**TOSS A COIN**}} {{[1](#)=**HEAD !** Effect 1}} {{[2](#)=**TAIL !** Effect 2}} {{[[[1d2]]](#)=}} ``` So this is working well, but i thought at first that i was rolling a 2faces dice and that the result of it will select the predifined answer, and i was wrong. So now i was working on a macro in which toss a coin would be roll a 6 faces dice. And before working on it, i was wondering how to make it with 3 predifned answers. So here was my first attempt : ``` &{template:default} {{name=**Blabla 3 events**}} {{[1](#)= Effect 1}} {{[2](#)= Effect 2}} {{[3](#)= Effect 3}} {{[[[1d3]]](#)=}} ``` That's where i found out that the answer would look something like that : If dice == 2 then output number 2 would be erased. And outputs 1 and 3 would still be up. So i continue working on it and tried to add another erase roll ``` &{template:default} {{name=**Blabla 3 events**}} {{[1](#)= Effect 1}} {{[2](#)= Effect 2}} {{[3](#)= Effect 3}} {{[[[1d3]]](#)=}} {{[[[1d3]]](#)=}} ``` But of course, sometime it will work, i'll have 2 different roll result, but sometime, it would be same result, so will have 2 effects instead of 1. So i found out that rolls have references like, indexs, and could be reused with $[[n]], where n is the index. And i work on that : ``` &{template:default} {{name=**Blabla 3 events**}} {{[1](#)= Effect 1}} {{[2](#)= Effect 2}} {{[3](#)= Effect 3}} {{[[[1d3]]](#)=}} {{[ $[[0]]+1 % 3 + 1 ](#)=}} ``` With " $[[0]]+1 % 3 + 1 " is the only way that i found to describe the way of rolling a dice which is not equal to the previous $[[0]] (previous roll) +1 (to have another result) % 3 (modulo 3, to avoid a result = 3 + 1 = 4) + 1 (cause "% 3" will define a domain on [0,2] and not [1,3], so i add 1 to the domain) So now i have 2 different results for rolling 3 faces dices, BUT my macro, OF COURSE, isn't running... Any help, please ? :D