henkit123 0 Posted February 2, 2013 Report Share Posted February 2, 2013 hi i if i got an hotmail account like this: username@hotmail.com:password how can i separate "username@hotmail.com" and "password" into 2 variables? thanks for help! Quote Link to post Share on other sites
malefic 48 Posted February 2, 2013 Report Share Posted February 2, 2013 add list to list -> file from text -> username@hotmail.com:password -> delimiter = : list item 0 = username@hotmail.comlist item 1 = password Quote Link to post Share on other sites
henkit123 0 Posted February 2, 2013 Author Report Share Posted February 2, 2013 add list to list -> file from text -> username@hotmail.com:password -> delimiter = : list item 0 = username@hotmail.comlist item 1 = passwordcan you please explain that a little more? thanks! Quote Link to post Share on other sites
kev123 132 Posted February 13, 2013 Report Share Posted February 13, 2013 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 variablesignore 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")} Quote Link to post Share on other sites
utsavat 1 Posted February 17, 2013 Report Share Posted February 17, 2013 Instead of list you can always use tables for this purposethey are the best for storing email ids and their password for account creation. as row 0 column 0 contains email idand 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. Quote Link to post Share on other sites
magoo 31 Posted February 17, 2013 Report Share Posted February 17, 2013 Tables are just a little bit harder to use if you are multi threading. Quote Link to post Share on other sites
utsavat 1 Posted February 17, 2013 Report Share Posted February 17, 2013 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 Quote Link to post Share on other sites
magoo 31 Posted February 17, 2013 Report Share Posted February 17, 2013 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. 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.