Hey All,
Need some help completing this Nightbot command. This code below works fine, it randomly selects one of these values and outputs it with the user name. I'm wanting to expand on this with an IF/ELSE statement to output one message for one value and something else for other values. I'm just not adept enough yet to figure out the if/else and I can't find any example solution. Help please! :)
!addcom !height $(eval a=[4'10,4'11,5'0,5'1,5'2,5'3,5'4,5'5,5'6,5'7,5'8,5'9,5'10,5'11,6'1,6'2,6'3,6'4,6'5,6'6,6'7,6'8,6'9,6'10,6'11,7'0];$(user) is ${a[Math.floor(Math.random()*a.length)]}.)