Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var die1,
- die2,
- workSum;
- die1 = Math.floor(1 + Math.random() * 6);
- die2 = Math.floor(1 + Math.random() * 6);
- workSum = die1 + die2;
- var string = (a + ' Landed a ' + die1 + ' and ' + die2 + ' totaling ' + workSum);
- chat(a + " Rolls the dice");
- setTimeout(function () {
- chat(string)
- }, 4000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement