Jump to content
UBot Underground

Why don't this list separate by new line?


Recommended Posts

Can someone help me with my list not separating by new line?

 

ui block text("Images ( Separated by new lines)", #Images)
add item to list(%imageLinks, $list from text(#Images, $new line), "Delete", "Global")
And in this text block I have:

 

http://s22.postimg.org/g95y/Get.jpg
http://s22.postimg.org/pap/Star.jpg
http://s22.postimg.org/dmv/Star.jpg
http://s22.postimg.org/p9f/Star.jpg
http://s22.postimg.org/mqt/Star.jpg
http://s22.postimg.org/gzy/Star.jpg
http://s22.postimg.org/o4l/Star.jpg
Link to post
Share on other sites

Right, what quite_interesting stated. Your using add item to list when you should be using add list to list.

ui block text("Images ( Separated by new lines)", #Images)
clear list(%imageLinks)
add list to list(%imageLinks, $list from text(#Images, $new line), "Delete", "Global")

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...