Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add !rand, !brickcolors, !materials, updated !usage #489

Merged
merged 2 commits into from
Sep 19, 2021
Merged

Add !rand, !brickcolors, !materials, updated !usage #489

merged 2 commits into from
Sep 19, 2021

Conversation

Expertcoderz
Copy link
Contributor

@Expertcoderz Expertcoderz commented Sep 12, 2021

- Random number generation

  • !rand - a real number between 0 and 1
  • !rand <upper> - an integer between 1 and <upper> (both inclusive)
  • !rand <lower> <upper> - an integer between <lower> and <upper> (both inclusive)

- BrickColors reference list:

!brickcolors (sorted alphabetically)
image

- Materials reference list:

!materials
image

- Updated !usage information

@coasterteam
Copy link
Collaborator

There's a much better way to get all brick colors, no need to list them all.
BrickColor.palette()
https://developer.roblox.com/en-us/api-reference/datatype/BrickColor

@Expertcoderz
Copy link
Contributor Author

There's a much better way to get all brick colors, no need to list them all.
BrickColor.palette()
https://developer.roblox.com/en-us/api-reference/datatype/BrickColor

Fixed. I should have known earlier. Thanks!

Copy link
Contributor

@LolloDev5123 LolloDev5123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes I approve these changes [imagine this is a thumbsup]

@Sceleratis Sceleratis merged commit f0b0974 into Epix-Incorporated:master Sep 19, 2021
@Expertcoderz Expertcoderz deleted the patch-14 branch October 12, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants