Jump to content



Photo

List From File

list problem file

  • Please log in to reply
2 replies to this topic

#1 aggin23

aggin23

    Member

  • Members
  • PipPip
  • 17 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 26 September 2019 - 12:57 AM

I had a break with Ubot and now I am kinda stuck.

I created a list from file, every item is in a new line, but ubot loads it as a one item ?

What's wrong ?

add item to list(%name,$list from file("C:\\Users\\name\\Desktop\\Folders\\BOT\\Tekst\\tekst ct1.txt"),"Don\'t Delete","Global")



#2 kill3rbko

kill3rbko

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 26 September 2019 - 01:10 AM

Check your text file and be sure of the control of line.

Sometimes you can see new line but delimiter is not good.

Just try another text file you make manually with 2 lines



#3 aggin23

aggin23

    Member

  • Members
  • PipPip
  • 17 posts
  • OS:Windows 7
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 26 September 2019 - 03:24 AM

Well, that was the dumbest mistake i ever made. I even laughed at myself.  I used "add item to list" instead of "add list to list".

The thread can be closed.


Edited by aggin23, 26 September 2019 - 04:42 AM.






Also tagged with one or more of these keywords: list, problem, file

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users