• Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Bablosoft

How to create variable once time ?

Scheduled Pinned Locked Moved Support
9 Posts 3 Posters 1192 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    J404
    wrote on last edited by
    #1

    Hello, when i set variable, i want that the variable create only on the first execution of script but when i launch my bot for each repetition the variable will be create. How to solve it ? Thanks !

    FoxF 1 Reply Last reply
    0
  • FoxF Online
    FoxF Online
    Fox Bablosoft Team
    replied to J404 on last edited by
    #2

    @J404 said in How to create variable once time ?:

    Hello, when i set variable, i want that the variable create only on the first execution of script but when i launch my bot for each repetition the variable will be create. How to solve it ? Thanks !

    You can use the global variable as the main variable, or as an indicator for the condition of the first start.

    J 1 Reply Last reply
    0
  • J Offline
    J Offline
    J404
    replied to Fox on last edited by
    #3

    @Fox No because it's a counter of repetitions per thread i can't use global variable

    FoxF 1 Reply Last reply
    0
  • FoxF Online
    FoxF Online
    Fox Bablosoft Team
    replied to J404 on last edited by
    #4

    @J404 said in How to create variable once time ?:

    @Fox No because it's a counter of repetitions per thread i can't use global variable

    Local variables will be reset when the stream ends. Either loop the work, or use the object in a global variable.

    In any case, this is not a good logic of work. What are you doing this for? What problem are you trying to solve?

    J 1 Reply Last reply
    0
  • J Offline
    J Offline
    J404
    replied to Fox on last edited by
    #5

    @Fox I want count the number of registering per thread then sleep the thread during 24 hours

    FoxF 1 Reply Last reply
    0
  • FoxF Online
    FoxF Online
    Fox Bablosoft Team
    replied to J404 on last edited by
    #6

    @J404 said in How to create variable once time ?:

    @Fox I want count the number of registering per thread then sleep the thread during 24 hours

    And why do you need a condition for each thread that will be executed only 1 time?

    J 1 Reply Last reply
    0
  • J Offline
    J Offline
    J404
    replied to Fox on last edited by J404
    #7

    @Fox I want only "Set Variable" runs once time to keep the increased value.

    For exemple :
    My bot set variable count=0
    Make account
    Increment count (count+1)
    REPEAT without reset count variable

    Thread 2 same logic but count of thread 1 must be unattached of thread 2

    ? 1 Reply Last reply
    0
  • ? Offline
    ? Offline
    A Former User
    replied to J404 on last edited by
    #8

    @J404 You can dont close the thread, instead make a loop and after each repetition to do reset the browser.

    J 1 Reply Last reply
    1
  • J Offline
    J Offline
    J404
    replied to Guest on last edited by
    #9

    @UserTrue @Fox Okay thanks !

    1 Reply Last reply
    0

  • ricotheyellowR

    how to use default generated variables ?

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    375 Views
    No one has replied
  • B

    help to create a bot

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    325 Views
    No one has replied
  • Pavel Duglas BasP

    TIME ZONE MODULE

    Scheduled Pinned Locked Moved Support
    -1 Votes
    1 Posts
    363 Views
    No one has replied
  • W

    How to get unix epoch time in seconds

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    383 Views
    No one has replied
  • M

    i want to make sleep random time and make some actions on the page like click type

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    1029 Views
    No one has replied
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
  • Login

  • Don't have an account? Register

  • Login or register to search.