Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /randomizethatshityo:
- trigger:
- # #!This will add all of our letters into the list variable, for easy randomization
- add "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y" and "z" to {_letters::*}
- # #! This is just to get the variable started, so the loops can take over
- #set {_randomized} to a random element of {_letters::*}
- # #! This defaults the string to blank, so "<none>" doesn't appear for the first one
- set {_randomized} to ""
- # #! This is to prevent the last dash from happening after the
- set {_dashcap} to 3
- set {_dashcount} to 0
- # #! Set this loop to however many sections of letters you want
- loop 4 times:
- # #! Set this loop to however many letters you want in each section
- loop 5 times:
- # #! This adds the newest letter into the string of text were creating
- set {_randomized} to "%{_randomized}%<gold>%random element of {_letters::*}%"
- set {_dashcount} to {_dashcount} + 1
- if {_dashcount} is less or equal to {_dashcap}:
- # #! This adds the dash into the string of text we're creating
- set {_randomized} to "%{_randomized}%<purple>-"
- # #! This simply sends you the formatted message
- message "%{_randomized}%"
Advertisement
Add Comment
Please, Sign In to add comment