Jump to content

Recommended Posts

Posted

how do i just make something run forever until i stop it manually.. also, is it possible to stop it when i click "P" or another key?

Posted (edited)

It might be clearer to say-

While 1=1; Stay in the loop as long as 1 is equal to 1 (always ^_^ )
      Sleep(100) 
Wend

Does that help?

While 1 is kinda just "shorthand" or so...

Edited by evilertoaster
Posted

This text/image appears on a different spot, on a website, every time it is clicked.. so i want the script to search the entire page for the image.. if you want i can post a picture of it.. the text isnt "highlightable" so im not sure if the bot can read it.. thanks

Posted

u must tell us where you want the button to appear, your gonna have to make a GUI if you want it to be a button, or splashimage to just to put it on the screen, u got to tell us what u want it to do

Posted

i want the script to FIND the button.. not create it (thatsgreat2345).. the button was off of a webpage.. but you have to be a member to get on it

Basically the program i want plays the game for you.. simple enough, but every time you click the "Start Research !" button, the page reloads (after researching). I want the program to find the button (it moves up or down, because a different message is displayed every time you click it (randomly).. Clicking each spot its possible to land on doesnt work, because there are other things to click that would take you off of the site or to another page..

Posted (edited)

so if i set while 1 to while 0 it should quit the loop? but keep the script?

hotkeyset("{esc}","end")
while 1
    msgbox(0,"Massage me",".....")
WEnd

func end()
while 0
    msgbox(0,"Massage me",".....")
wend
EndFunc
Edited by slightly_abnormal

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...