|
|
Re: Integrated dice rolling |
Tue, 27 November 2012 17:00 |
|
Thread Necromancy for the win!
In the past 8 years, has anyone made any progress on this?
I would like the same functionality.
|
|
Re: Integrated dice rolling |
Wed, 16 June 2004 20:03 |
|
If you are reasonably well familiar with PHP you should be able to make this customization by editing post_proc.inc.t
|
|
Integrated dice rolling |
Wed, 16 June 2004 17:06 |
|
I'm considering using the forum for gaming purposes, and I'm curious if it would be possible to add commands to the forum posting capabilities. Suppose the game were AD&D (for a fairly commonly understood example) I'm imagining a command syntax something like:
Player X posts:
I swing to hit the Bandersnatch: [ roll ]1d20[/roll]
And the server actually calculates the desired roll and saves the message as:
I swing to hit the Bandersnatch: [[ 1d20 rolled: result = 17 ]]
The [[ xx ]] format would be used to indicate a server generated roll. To keep players from cheating and just posting the latter (i.e. make it look like the server rolled when it didn't), the server would also have to detect and reject the players from spoofing like that.
Obviously, this is fairly specialized functionality... is it something that could be manually added by someone with a decent PHP knowledge (I'd don't have that, but would be willing to learn)? Would it be possible? Would it be hard?
Thanks,
Scott
|
|