deiseldent 0 Posted April 18, 2013 Report Share Posted April 18, 2013 Hello People... Was wondering who out there on the forum knows the best workaround for the following... Pretty much... When a user places a batch of words in my "UI block text" my script will then "Add item to list".... however at this point the batch of words will ALL be considered 1 list item. How can I set a varibale so that no matter what amount of words are entered into the "UI block text" , each word will be given there own number in list position. Ultimately I am trying to have a sequence where I run each word through a loop individually as I go through the whole list that is contained within the "UI block text". I am pretty much stumped at this point here clear cookiesui block text("search", #batch)ui button("search") { add item to list(%main, #batch, "Delete", "Global") set list position(%main, 0) loop($list total(%main)) { }} Just a side note... I throw some crazy parties in Salvador, Brazil whoever helps me out with this and if your ever around in my neighborhood.... consider yourself behind the ropes thanks in advance DD Quote Link to post Share on other sites
Pete 121 Posted April 18, 2013 Report Share Posted April 18, 2013 clear cookiesui block text("search", #batch)ui button("search") { add list to list(%main, $list from text(#batch, $new line), "Delete", "Global") set list position(%main, 0) loop($list total(%main)) { }} never been to Brazil 1 Quote Link to post Share on other sites
deiseldent 0 Posted April 18, 2013 Author Report Share Posted April 18, 2013 clear cookiesui block text("search", #batch)ui button("search") { add list to list(%main, $list from text(#batch, $new line), "Delete", "Global") set list position(%main, 0) loop($list total(%main)) { }} never been to BrazilHIUGE Zap!! Well PM me if you decide to come down... a promise is a promise! 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.