Help with Custom Variables


#1

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


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