Yet again... help with helpian monopoly

can someone figure a way to simplify this block code? if not, it will take me ages



pls help

I can help you with it

const string valid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
StringBuilder res = new StringBuilder();
Random rnd = new Random();
while (0 < length--) {
  res.Append(valid[rnd.Next(valid.Length)]);...

Thats how you do it :slight_smile:

1 Like

i am very confused, could you explain? what is stringbuilder? and as far as i know there is no while

Nvm i fixxed it i forgot to put it in code mode :slight_smile:

Do Grant player selected item amount create text with “rent” and get property “wheretopay”

string builder is building the spots so place down a bed on every spot and it will work :))))

how would this work? depending on what wheretopay is, rent_ changes

oh oops

this has nothing to do with beds…

what did they say?

something about being a joke

image
please have good news

I have to restart my computer quick but I have answer

1 Like

yay! so excited i hope it works

How are diffrent rents created? Moving around on the board?

If the answer is yes, then I have the solution.

1 Like

the rents are set when you buy, own all in a group, or add houses/hotels

1 Like

For some reason I can’t log in to GKC and get a screenshot so I think you do it like this:

Grant Player Selected Item (Custom Amount)

Get Property

Create Text With

rent

Get Property

wheretopay