Jump to content
UBot Underground

$Next List Item Question


Recommended Posts

How would I go about repeating the same list item on several instances? Say a form requieres me to specify a password several times.

 

I tried this....

 

type text(<password field>,$list item(%Passwords,$list position(%Passwords)),"Standard")

 

Didn´t work.

Link to post
Share on other sites

You can do something like this

clear list(%Passwords)
add list to list(%Passwords,$list from text("5325324
65464
74564356
^546546
654646","
"),"Delete","Global")
loop(10) {
    set(#currentPassword,$next list item(%Passwords),"Global")
    if($comparison(#currentPassword,"=",$nothing)) {
        then {
            alert("list will reset")
            set list position(%Passwords,0)
        }
        else {
        }
    }
}

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