Jump to content

I Need Help About This


Recommended Posts

;Bla Bla Bla By Muflonu

; Prompt the user to run the script - use a Yes/No prompt

$answer = MsgBox(4, "Attack v1.0", "START ?")

; Check the user's answer to the prompt

; If "No" was clicked then exit the script

If $answer = 7 Then

MsgBox(0, "Attack v1.0", "C ya , moron!!!")

Exit

EndIf

; Wait for the GK Client to become active - it is titled "Gigi Kent" on all systems

WinWaitActive("Gigi Kent")

; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)

$answer = MsgBox(4, "Attack v1.0", "GigiKent active. START?")

If $answer = 7 Then

MsgBox(0, "Attack v1.0", "C ya , moron!!!")

Exit

EndIf

; Now that the GK client window is active type some special characters

Send("q123q123q123q123")

OK ... so , this is working properly , but i want to make it loop the keys "q123q123q123q123" forever .

Is there any way i can do that ? If yes please help me with ideas or with anything you guys think it might help .

Thanks !

Link to comment
Share on other sites

HI,

and welcome! Should be a question in support forum. :think:

Try this.

; Now that the GK client window is active type some special characters
While 1
Send("q123q123q123q123")
sleep(10)
WEnd

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

; Now that the GK client window is active type some special characters
While 1
Send("q123q123q123q123")
sleep(10)
WEnd

There should also be a HotKeySet("{ESC}", ExitLoop) under thw While 1

No sense in taking the chance of getting into an endless loop

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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