domenlo 0 Posted April 26, 2020 Report Share Posted April 26, 2020 Hey. I want to be able to shuffle words that are in a variable? Is there a code that can do this? Right now I'm using a site for it (onlinerandomtools.com / shufflewords) and scrape the results. Thanks so much! Quote Link to post Share on other sites
cob007 19 Posted April 26, 2020 Report Share Posted April 26, 2020 i had seen this post earlier, this ight helphttps://network.ubotstudio.com/forum/index.php/topic/21326-shuffle-a-list-looking-for-a-simple-way-to-shuffle-a-list-in-ubot/ Quote Link to post Share on other sites
domenlo 0 Posted April 26, 2020 Author Report Share Posted April 26, 2020 (edited) Ugh, I understand the basics of this code and was able to rewrite it to my needs, but now I see one of the basic ubot commands is broken. $list from text Fuck me amirite lol ------------------ Oh great, $list total doesn't work either. Does anyone have any old ubot binaries that they could share? 5.xx, ones before the two year update hiatus? Edited April 26, 2020 by domenlo Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 29, 2020 Report Share Posted April 29, 2020 http://network.ubotstudio.com/ubot_install_archive/ubot%20studio/v5.9.37/Setup.msi 5.9.55 https://s3-us-west-2.amazonaws.com/ubotsupportfiles/5.9.55+Setup.msi what level of ubot do you have? Dev, Pro? Quote Link to post Share on other sites
domenlo 0 Posted April 29, 2020 Author Report Share Posted April 29, 2020 I have developer, thank you for the link! http://network.ubotstudio.com/ubot_install_archive/ubot%20studio/v5.9.37/Setup.msi 5.9.55 https://s3-us-west-2.amazonaws.com/ubotsupportfiles/5.9.55+Setup.msi what level of ubot do you have? Dev, Pro? Quote Link to post Share on other sites
Lombi 34 Posted April 29, 2020 Report Share Posted April 29, 2020 This is op. Lemme plug into this topic with my normal account. Btw in case anyone else wants the code that works in 6.1.x, i just hardcoded individual "item to list", then looped a bunch of times and added a random list item to list. clear list(%kljucne) clear list(%listToShuffle) add item to list(%listToShuffle,"#memes","Don\'t Delete","Global") add item to list(%listToShuffle,"#meme","Don\'t Delete","Global") ... add item to list(%listToShuffle,"#humor","Don\'t Delete","Global") add item to list(%listToShuffle,"#humour","Don\'t Delete","Global") loop(100) { add item to list(%kljucne,$random list item(%listToShuffle),"Delete","Global") } set(#kljucne besede random,$text from list(%kljucne," "),"Global") Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.