Adds dice roller.

Also changes slighty the processing of the serverfuns.