The controls are listed in the program (If you type "y" at the start). To type "+" use "p" and use "m" for "-".
This program takes dice code (Such as 1d6+1) from Dungeons and Dragons and "rolls", giving you the number. This will accept all possible codes (Using D&D formatting) including codes with several dice and an extra modifier ("+" or "-" x). (Note that you must type "p" for "+", and "m" for "-") It can handle any number of dice and any size dice. meaning "100d256+253" will work just fine. (Although it will take a long time to print the results) (It took about 45 seconds when I did it). When using multiple dice it will print out all of the individual rolls and then the total. Text scripts are from @Andrew360