Jump to content



Photo

help need for loop while

loop looping while loop while

  • Please log in to reply
3 replies to this topic

#1 MRLEPPY

MRLEPPY

    Newbie

  • Fellow UBotter
  • Pip
  • 4 posts
  • Locationdublin, Ireland
  • OS:Windows 8
  • Total Memory:6Gb
  • Framework:v4.5+, unsure
  • License:Standard Edition

Posted 30 November 2014 - 01:51 PM

Hi i need some help, i am trying to make myself a twitter bot. i want to loop until i am not following anyone. i need to know how to loop while waiting for following total to =0 but i have no idea how to do this

 

some one please explain

thanks

 

Attached Files



#2 nuc63

nuc63

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 425 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 30 November 2014 - 02:05 PM

Scrape the numbers of followers you are following
Set that to a variable
Loop that variable

#3 nuc63

nuc63

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 425 posts
  • OS:Windows 8
  • Total Memory:4Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 30 November 2014 - 02:07 PM

At end of loop recheck followers if greater then 0 redo loop

I would set loop as a define

#4 MRLEPPY

MRLEPPY

    Newbie

  • Fellow UBotter
  • Pip
  • 4 posts
  • Locationdublin, Ireland
  • OS:Windows 8
  • Total Memory:6Gb
  • Framework:v4.5+, unsure
  • License:Standard Edition

Posted 30 November 2014 - 02:57 PM

thanks but that is what i was trying to figure out. its what you told me to do that i do not know how to. bought ubot  a long time ago but only getting some time to learn it now.







Also tagged with one or more of these keywords: loop, looping, while, loop while

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users