I'm running a Catthulu (no I didn't spell that wrong) game for my players as a break between campaigns. Catthulu is a 2d6 system where if you roll at 1-2 is a failure and a 3-6 is a success. If it's a simple task then you need one success and a hard task needs two success. I would like two buttons one for Simple task and one for Hard task. The basic idea is if (2d6>2 >= 1) then Display "Success" Else Display "Failure" End If What I don't know is how to put this into javascript. It's been over 20 years since I did any program and I never did any Java. I tried to find an example but I'm running out of time. Does anyone have a basic mod for this type of roller. Thanks for the help.