Sign in to follow this  
Followers 0
alohha

Need help to make my script repeat!

8 posts in this topic

Hi! i'm new to this forum.

I've been doing a script for a private server (runescape), it's not very advanced. just simple and only for me. (Don't hate.)

MouseClick("Right",674,422)

MouseClick("Left",673,447)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(2000)

MouseClick("Left",674,422)

Sleep(3000)

MouseClick("Left",666,646)

SLeep(3000)

MouseClick("Left",548,656)

SLeep(5000)

MouseClick("Left",718,514)

SLeep(3000)

MouseClick("Left",806,240)

SLeep(3000)

MouseClick("Left",791,324)

SLeep(4000)

MouseClick("Left",641,459)

SLeep(3000)

MouseClick("Left",675,339)

SLeep(3000)

How and where do i put the code for it to repeat?

Share this post


Link to post
Share on other sites



Do you want to repeat the whole skript??

While 1
;Your skript here
WEnd

This will repeat it forever

Share this post


Link to post
Share on other sites

alohha,

Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum Rules on your way in. Please read them now and then you will understand why you will get no help and this thread will shortly be locked. :D

See you soon with a legitimate question I hope. :oops:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Do you want to repeat the whole skript??

While 1
;Your skript here
WEnd

This will repeat it forever

Where should i put that code? and how can i stop it so it doesnt repeat forever?

Share this post


Link to post
Share on other sites

alohha,

Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum Rules on your way in. Please read them now and then you will understand why you will get no help and this thread will shortly be locked. :D

See you soon with a legitimate question I hope. :oops:

M23

Sorry, i will make sure i dont do this misstake next time. :rip:

Share this post


Link to post
Share on other sites

alohha,

Sorry, i will make sure i dont do this misstake next time

Delighted to hear it. We will help you a huge amount if you post legitimate questions. Please do read those rules I linked to and abide by them. See you around. :D

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Topic locked due to forum rule infraction.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0