Jump to content

How to Run 1 while once time, and the other repeatly


Jooshxp
 Share

Recommended Posts

Hello,

i wanna to ask somethings, i have a code like this :
 

HotKeySet ("{F1}", "start")
HotKeySet ("{F2}", "stop")

while 1

WEnd



Func start ()
   HotKeySet ("{1}", "aoj")
   HotKeySet ("{2}", "seal")
   HotKeySet ("{3}", "fiber")
EndFunc

Func aoj ()
while 1 = 1
   MouseClick ( "Left", 314, 89 )
   Sleep (300)
   Send("^a")
   sleep (300)
   Send ("Aura of Jackpot")
   Sleep (300)
   MouseClick ( "Left", 235, 123 )
   Sleep (300)
   Send ("{ENTER}")
   Sleep (500)
   Send ("{ENTER}")
   Sleep (300)
   MouseClick ( "Left", 556, 138 )
   Sleep (750)
   MouseClick ( "Left", 614, 410 )
   Sleep (750)
   Send ("{ENTER}")
   Sleep (750)
   Send ("{ENTER}")
   Sleep (5500)
WEnd
EndFunc

Func fiber ()
while 1 = 1
   MouseClick ( "Left", 314, 89 )
   Sleep (300)
   Send("^a")
   sleep (300)
   Send ("Synchro Fiber")
   Sleep (300)
   MouseClick ( "Left", 235, 123 )
   Sleep (300)
   Send ("{ENTER}")
   Sleep (500)
   Send ("{ENTER}")
   Sleep (300)
   MouseClick ( "Left", 556, 138 )
   Sleep (750)
   MouseClick ( "Left", 614, 410 )
   Sleep (750)
   Send ("{ENTER}")
   Sleep (750)
   Send ("{ENTER}")
   Sleep (5500)
WEnd
EndFunc

Func seal ()
while 1 = 1
   MouseClick ( "Left", 314, 89 )
   Sleep (300)
   Send("^a")
   sleep (300)
   Send ("Warranty Seal")
   Sleep (300)
   MouseClick ( "Left", 235, 123 )
   Sleep (300)
   Send ("{ENTER}")
   Sleep (500)
   Send ("{ENTER}")
   Sleep (300)
   MouseClick ( "Left", 556, 138 )
   Sleep (750)
   MouseClick ( "Left", 614, 410 )
   Sleep (750)
   Send ("{ENTER}")
   Sleep (750)
   Send ("{ENTER}")
   Sleep (5500)
WEnd
EndFunc

Func stop ()
   Exit
EndFunc

I wanna to run once from

MouseClick ( "Left", 314, 89 )
   Sleep (300)
   Send("^a")
   sleep (300)
   Send ("Aura of Jackpot")
   Sleep (300)
   MouseClick ( "Left", 235, 123 )
   Sleep (300)

and the other script will run repeatly,

how to do that ? can i ?

and how to run func 1 while func 2 running, ?

thank's

Link to comment
Share on other sites

  • Moderators

Jooshxp,

I see "Aura of Jackpot" in that code - which Google tells me is a casino game. Are you trying to bot a game, because if so I suggest you read the Forum rules where it is made quite clear that we do not support such requests.

M23

Edited by Melba23
Fixed link

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Link to comment
Share on other sites

  • Moderators

Jooshxp,

It still counts as "game interaction" - and so not allowed. Thread locked.

InunoTaishou,

People still argue after we point them at the rules - as is the case here - so what makes you think they would pay any attention to a registration question? Botters always claim that they are a "special case" - with which classification I entirely agree, although not quite in the sense they mean it.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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