Coming soon - Get a detailed view of why an account is flagged as spam!
view details
1
Help creating a script to auto-generate Dungeons and Dragons characters
Post Body

Apologies for formatting, I'm on mobile. I'll do my best to make it look right.

Hey guys, so I just recently got into this and had the wonderful idea to take a script that randomly takes names from a list and turns them into D&D characters. Right now, I'm trying to have the script select names from a list where one group is more likely to be chosen than the other.

I want to be able to press Control q and generate names where human names are more likely to be chosen than half elf names.

If you can describe how to do this as well, my DMs setting has I think 25 different races to choose from. I just picked human and half-elf while I'm learning what to do. Also, I found a script online that I've Frankensteined into this, so I have no idea what StringSplit, ValueArray, `, or % ValueArray%rand% mean


{

Random, var, 1, 100

{

if (var 20, 100)

{

Values = Jack ,Jane ,Jerry 

StringSplit, ValueArray, Values, `,

Random, rand, 1, 3

SendInput % ValueArray%Rand%

}

}

{

if (var 1, 19)

{

Values = Meliana ,Melechael ,Mytostinks

StringSplit, ValueArray, Values, `,

Random, rand, 1, 3

SendInput % ValueArray%rand%

Thank you in advance for the help! I'm a little lost!

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
35,133
Link Karma
24,935
Comment Karma
10,029
Profile updated: 1 week ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago