• Re: Dice Roller in Messages?

    From Alpha@21:4/158 to StevetheNPC on Mon Mar 9 03:49:41 2020
    Then, when the message is submitted, the code will replace the tag with the results of a random number generator, something like:

    This is a pretty cool idea.

    |08.|07..|15.. |11Alpha |07- |11Card & Claw BBS
    |08.|07..|15.. |03fsxNet AgoraNet GameNet SciNet Fidonet
    |08.|07..|15.. |05Doorparty! |07/ |05Local Doors |07/ |05Board Game Discussion |08.|07..|15.. |13Join |07@ |13cardandclaw.com|07:|138888

    --- Mystic BBS v1.12 A46 2020/03/07 (Linux/64)
    * Origin: Card & Claw BBS | Analog Gaming: Board Games, RPGs (21:4/158)
  • From StevetheNPC@21:1/190 to Alpha on Mon Mar 16 05:27:26 2020
    On 09 Mar 2020, Alpha said the following...
    This is a pretty cool idea.

    It would be pretty handy for message based roleplaying. The tricky part is:
    how do you keep someone from editing a message after the dice tag (eg.
    [1d20]) has been replaced with a random number (eg. "Steve rolled [1d20] = 19"), in an attempt to re-roll the dice, hoping for a better result? Or, how
    do you prevent them from editing the message and just inserting fake results?

    I've seen some forum-based dice rollers that either add a warning, i.e. "Warning! This message has been edited by...", or do not allow editing after the message has been posted. There might be other ways to resolve this, like storing the actual results of the dice roll somewhere else, and just pointing to them. *shrugs*

    Even just a simple text replacement function would be fine, and then you just have to trust people to not cheat.

    --- Mystic BBS v1.12 A45 2020/02/18 (Windows/64)
    * Origin: Abacus BBS (21:1/190)