Help with Custom Variables

Ok So How do you make Nightbot Select a option from a variable for example if i want a coin flipper command how would the Variables be use to randomly select from heads or tails

!addcom !coinflip $(eval Math.floor(Math.random() * 2) ? "Heads" : "Tails")

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.