JS Bin

4chan dice script, version 12

1. Drag this link to your bookmarks bar: Show Dice
2. Open a 4chan thread
3. Click the 'Show Dice' bookmark to see dice rolls.

This script supports the same syntax as /tg/'s dice command. Put "dice+3d6" (without quotes) in the email field to roll 3d6. You can make rolls with multiple types of dice and with modifiers, as in "dice+3d6+1d20+7".

This script also supports inline dice rolls: write "[3d6]" (without quotes) anywhere in your post to roll 3d6. The result will appear inside the square brackets, as in "[3d6: 15]". This supports all the same features as in email-field rolls, so you can write things like "[3d6 + 1d20 + 7]" and get the expected result.

If you have problems with the script:

1. Make sure you have the latest version of the bookmarklet
2. Refresh the thread and try again
3. Make sure you're not using HTTPS to connect to 4chan
4. Get on Rizon IRC and /msg bonmilri. (I'm online most of the time, but I might not answer right away.)

`javascript: (function() { var x = document.createElement('script'); x.setAttribute('type', 'text/javascript'); x.setAttribute('src', 'https://pastebin.com/raw/fbhCWStT'); document.head.appendChild(x); if (console && console.log) console.log('added script tag'); })();`