Skip to content

Broken example in HelpMe.md #157

@TheZeldaZone

Description

@TheZeldaZone

The example below does not appear to work as described, at least when using the Discord bot.

8d10;$1c[>6];$1c1;$2-$3i:[>0]{"%3 Success[%2]"}{i:[<0]{"Critical fail %3 [%2]"}{"Fail %3 [%2]"}}

Critical Fail will never occur, Fail will occur with numbers higher than 0 (the example says >1 is a success, 0 is fail, <0 is critical fail). Success will happen with lower numbers than Failure.

Perhaps due to the error, I can't tell what the code is doing well enough to fix it. Something's just completely wrong, the example really could go into more detail into what $1c[>6];$1c1;$2-$3 is doing, I think I get the rest, though since it doesn't work, I'm not really sure.

More trivially, the %3 for Success outputs first, while the success count is displayed after for all other ones. It should be moved to after the word for consistency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions