bubees 0 Posted November 22, 2017 Report Share Posted November 22, 2017 (edited) Hy i`am a beginner and have a few problems. I have a CSV File with 1. Article 12. Article 23. Article 3 and so one. Now i want that if a round starts he use a random article from the CSV File and after the round he deletes the current line with the article from the file. And a second problem. An example if i on a side like pricegrabber.com I can`t click to a product. I can go to a category and see the products but than i can`t click the see it button to get to the new page I make a short take: https://www.file-upload.net/download-12827723/Aufnahme_2017_11_22_06_00_36_444.mp4.html What have i to do? Edited November 22, 2017 by bubees Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 26, 2017 Report Share Posted November 26, 2017 For your first question, the easiest way is to get the articles into a list and then do something like this: loop($list total(%articles)) { set(#randomArticle,$rand(1,$list total(%articles)),"Global") set(#articlePosition,$subtract(#randomArticle,1),"Global") set(#article,$list item(%articles,#articlePosition),"Global") remove from list(%articles,#articlePosition) wait(0.5) }For the second, if you could upload that to Youtube or a video hosting site that would be helpful. 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.