mehcul 1 Posted April 28, 2018 Report Share Posted April 28, 2018 hello,I have a problem with deleting the used proxy from a list.Loading proxy is working fine but at the step remove the used proxy from the list dont worj for me.Can someone help me please.much thanx Quote Link to post Share on other sites
HelloInsomnia 1103 Posted April 28, 2018 Report Share Posted April 28, 2018 Remove from list is asking for the position in the list you want to remove so its asking for a number (integer). And you are giving it the value of the previous list item (which is a string) - so that is returning back the proxy. I think what you really want is this: clear list(%list) add list to list(%list,$list from text("1,2,3",","),"Delete","Global") loop($list total(%list)) { alert("using proxy {$list item(%list,0)}") remove from list(%list,0) } 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 28, 2018 Report Share Posted April 28, 2018 Yep,And you would want to use an "IF" statement for when you run out of proxies. likeIf $list total is > 0(in a comparison): alert Out of proxies!! (or whatever) Regards,CD 1 Quote Link to post Share on other sites
mehcul 1 Posted April 29, 2018 Author Report Share Posted April 29, 2018 doenst work, anyway i must make a new script.maybe you have any other simple script to load from proxy the first adress and remove the adress at the end of loop? thx for help. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted April 29, 2018 Report Share Posted April 29, 2018 doenst work, anyway i must make a new script.maybe you have any other simple script to load from proxy the first adress and remove the adress at the end of loop? thx for help. Just so I get what you are saying, if this is your proxy list: 123 You want to use 1 but remove 3? Quote Link to post Share on other sites
mehcul 1 Posted April 29, 2018 Author Report Share Posted April 29, 2018 i want to use the first adress in the txt file and delete after the procedure the used item in the file. i try your code but it doesnt work for me. idk why.maybe you have another lightweight script for me? thx much Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted May 1, 2018 Report Share Posted May 1, 2018 There is several ways to handle proxies.Are you using public or private proxies? Are you testing the proxy or using a one that has been tested?More details would be better and a code snippet. Regards, CD 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.