Okay, I fiddled around with a game where its useful if you have actual dice objects on the game table and if you roll them you really see the result on the dice. (yep, this is what I stitched together for fiasco). After I had done that "onTokenMove" came to my mind.
The result is "CiFs dicebag". Nah, its probably to early to give it a name yet

Set up dice:
- drop any empty token on the map
- call setup campaign macro
- enter table name and face count of a table with dice images (default ones do fine)
If you now move this token it asks you if you wanna ROLL the die or just MOVE it around. If you move several die tokens at the same time all will be rolled and sum is calculated. Token names are shown in the chat output so you could name dice tokens "attack dice", "d20" or "wild die" ...
If have some utility macros like "sum selection" and "roll selection".