Jump to content
UBot Underground

[Free] Bulk reset plugin (lists and variables)


Recommended Posts

you are not putting the variables as text in the bulk variable reset command. Hence its setting the values inside the variables to nothing.

 

check the first post image to see the difference compare to yours

 

many thanks

Link to post
Share on other sites

Sorry about that Kev123, 

I did have them set as text like stated in your OP.

I must have changed them, again, sorry about that my friend.

no worries

Link to post
Share on other sites
  • 2 weeks later...

Hey kev, This plugin saved the bot i am currently working on. Thanks!

 

I have a suggestion. If possible, add a function version of "bulk variable set" command.

So we can use it within a command like on "if" commands.

i'm not 100% sure how you mean have you got a example of how it would work

Link to post
Share on other sites

For example, i have a list that contains the variables that i want to check.

add list to list(%testList, $list from text("#var1
#var2
#var3", "
"), "Delete", "Global")

I want to check the value of each variable in a loop using an if command.

loop(3) {
    if($comparison($next list item(%testList), "=", "true")) {
        then {
            alert("true!")
        }
        else {
        }
    }
}

Ubot wont allow the sample code above..

 

Hope it make sense..

Link to post
Share on other sites
  • 2 months later...

example

 

dynamic list

 

add list to list(%masterlist, $plugin function("Variablemulti.dll", "Dynamic List", "%listname"), "Delete", "Global")

 

dynamic variable

 

set(#new0, 1, "Global")
set(#new1, 2, "Global")
set(#new2, 3, "Global")
set(#loop, 0, "Global")
loop(3) {
    alert($plugin function("Variablemulti.dll""Dynamic Variable""#new{#loop}"))
    increment(#loop)
}
 

Link to post
Share on other sites
  • 9 months later...

Thanks for the plugin Kev.. I have a question - I'm trying to create lists with dynamic names. I saw your example code:

add list to list(%masterlist, $plugin function("Variablemulti.dll", "Dynamic List", "%listname"), "Delete", "Global")

But I cant seem to get this to work:

add item to list($plugin function("Variablemulti.dll", "Dynamic List", "%{#test_list}"),5,"Delete","Global")

Would this be possible? Thanks!

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