Adium

Profile: Pradeep Sanders (elentar)

Mail
Comment Count 1 comments
0 xtras

Latest comments

# by elentar on 05/24/10 at 19:12:57

I modified the AppleScript for this to take a ";" in the input and output the subcommands separated by it. So you can do:

/dice{1d8;1d6}

And you'll get:

Results: Rolled 1d8: 3 for a total of 3 and rolled 1d6: 5 for a total of 5

To use, download http://www.ultraviolet.us/dice.scpt and place in ~/Library/Application Support/Adium 2.0/Scripts/diceRoller.AdiumScripts/Contents/Resources, overwriting the file that's there.

I'll send the modifications to the author, too, so hopefully they'll be in a future update.

String splitting function borrowed from http://erikslab.com/2007/08/31/apples...t-a-string/