Jump to content
UBot Underground

threading and variable issues


Recommended Posts

Hey, I completely understand hwo to thread and stuff, but the issue im having is with variables..

in some cases... i would like to 'pass' a variable from 1 command to another. is that possible?

 

 

for now since i couldnt figure it out i combined all my commands into 1 command... now the problem is... my variables aren't changing.. so lets say i have a variable #newusername which = account random lastname + random numbers. but when running each thread is trying to register the exact same account. I have set the variables to local as well.

Link to post
Share on other sites

anything on this? I could really use it. my bot is all multi threaded up and works, but only will complete 1 account, because on all the other threads its using the same variable as teh first thread.. and when i localize it doesnt work because it doesnt get passed from 1 command to another even in the same 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...