Jump to content
UBot Underground

how can i separate text in a txt?


Recommended Posts

  • 2 weeks later...

this is a define for what your asking uiselect was a text box.

it basically reads whats in the text box and and splits it into two variables

ignore the variable titles its ripped from a bot.

 

 

define splitdelimit {
    clear list(%split)
    add list to list(%split, $list from text(#uiselect, "/"), "Delete", "Global")
    set(#category, $list item(%split, 0), "Global")
    set(#subcategory, $list item(%split, 1), "Global")
}

Link to post
Share on other sites

Instead of list you can always use tables for this purpose

they are the best for storing email ids and their password for account creation.

 

as row 0 column 0 contains email id

and row 0 column 1 contains pass

 

for example

[row][column]

[0][0] = abc@hotmail.com

[0][1] = pass1

[1][0] = xyz@hotmail.com

[1][1] = pass2

 

this will only need you to maintain 1 increment counter in the above example you will need to maintain 2 counters and this method is also easy to apply and use.

Link to post
Share on other sites
Tables are just a little bit harder to use if you are multi threading.

 

What is the reason behind the "Harder stuff" that you are telling in MultiThreading

 

I mean in what way it is Harder

Link to post
Share on other sites

Tables are global so any information can't be held local to the thread, unlike lists which can be set to local. This means its harder to use tables when multi threading because any information will be shared across all threads, to be held local information from the table needs to be passed to the thread from the table as a variable or list before the multi thread environment.

 

There are ways to use tables inside multi threads but its like I said just harder.

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...