FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Integrated dice rolling
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Integrated dice rolling [message #18916] Wed, 16 June 2004 21:06 Go to previous message
shorter is currently offline  shorter   United States
Messages: 1
Registered: June 2004
Karma:
Junior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Highest Posting Members ?
Next Topic: Error in index.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Apr 28 08:48:05 GMT 2024

Total time taken to generate the page: 0.05670 seconds