Jump to content
UBot Underground

Any way to get current list item?


Recommended Posts

I've been wanting to use whatever item is currently in the list, and can use a variable to set the position and use "inc" to increase the variable to move through list items, but I really like using $next list item as I can use it in threads without having to have a var for each different list item etc.. Also been wanting to use stat monitor to view what current list item were on, not just the number but actually whatever content is in the list file. Any way of doing this?

Link to post
Share on other sites

I think you are looking for function "$list position" (gets current list position), which you can then use inside "$list item" (to get the item you are looking for).

Link to post
Share on other sites

I think you are looking for function "$list position" (gets current list position), which you can then use inside "$list item" (to get the item you are looking for).

Now I feel silly because it seems so obvious, haha thanks!

Link to post
Share on other sites

Also, inside your threads, you could still use $list item and the incrementing variable safely, as long as you declare them "Local" withjin a DEFINE that you call for each thread.

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