Jump to content
UBot Underground

The Worst Thing To Run Into On A Project... (Use A Stop Script!)


Recommended Posts

2nd time I have done this just to check for something, not realizing I should of put a stop script command in there...

 

 

 

If you don't know what's going on here, I ran the node which would be an infinite loop since in the current browser, the element in fact $exists, so I basically can't do anything else, no saving, no modifying ... You get it though.

 

http://puu.sh/j5fnC/82fe503f24.png

  • Like 1
Link to post
Share on other sites

You can add another condition or more.

 

AND

OR

set(#index, 0, "Global")
loop while($comparison(#first cond, "=", "true") AND $comparison(#second cond, "=", "true")) {
    wait(1)
    increment(#index)
}
ui check box("first condition", #first cond)
ui check box("second condition", #second cond)
ui stat monitor("index: {#index}", "")
stop script
loop while("{$comparison(#first cond, "=", "true")}{$comparison(#second cond, "=", "true")}") {
    wait(1)
    increment(#index)
}

or see attached file

 

works in ubot 4 for sure :)

 

CD

example--loop while 2 conditions are true.ubot

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

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