Sign in to follow this  
Followers 0
urmommie

Need help with code I made please help

3 posts in this topic

#1 ·  Posted (edited)

$answer = MsgBox(4, "Aimbot", "Do you want to inject?")
    If $answer = 7 Then
Exit
EndIf
    If $answer = 6 Then
EndIf
$answer = MsgBox(0, "Aimbot", "To inject you must make a username and password")
    If $answer = 1 Then
EndIf
$answer = InputBox("Aimbot", "Type in a username")
    If $answer = 2 Then
Exit
EndIf
    If $answer = 1 Then
EndIf
$answer = InputBox("Aimbot", "Type in the password "&$answer&" ")
    If $answer = 2 Then
Exit
EndIf
    If $answer = "123" Then
    Run("Notepad")
    WinWait("Untitled - Notepad")
    WinWaitActive("Untitled - Notepad")
    Send("Welcome "&$answer&" you can lauch crossfire and the hack will work...")
EndIf

The code works and all but I want to know see in the park where it says :

$answer = InputBox("Aimbot", "Type in a username")
    If $answer = 2 Then
Exit
EndIf

Yea well when I press cancle it justs goes to the password part :o please help thanks :D...

Edited by urmommie

Share this post


Link to post
Share on other sites



$answer = MsgBox(4, "Aimbot", "Do you want to inject?")
     If $answer = 7 Then
 Exit
 EndIf
     If $answer = 6 Then
 EndIf
 $answer = MsgBox(0, "Aimbot", "To inject you must make a username and password")
     If $answer = 1 Then
 EndIf
 $answer = InputBox("Aimbot", "Type in a username")
     If $answer = 2 Then
 Exit
 EndIf
     If $answer = 1 Then
 EndIf
 $answer = InputBox("Aimbot", "Type in the password "&$answer&" ")
     If $answer = 2 Then
 Exit
 EndIf
     If $answer = "123" Then
     Run("Notepad")
     WinWait("Untitled - Notepad")
     WinWaitActive("Untitled - Notepad")
     Send("Welcome "&$answer&" you can lauch crossfire and the hack will work...")
 EndIf

The code works and all but I want to know see in the park where it says :

$answer = InputBox("Aimbot", "Type in a username")
     If $answer = 2 Then
 Exit
 EndIf

Yea well when I press cancle it justs goes to the password part :o please help thanks :D ...

Just a simple mistake but you could have solved it yourself by looking in the help. If the cancel buttin is pressed @error is set to 1 so you need

$answer = InputBox("Aimbot", "Type in a username")
If @error = 1 Then Exit

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Just a simple mistake but you could have solved it yourself by looking in the help. If the cancel buttin is pressed @error is set to 1 so you need

$answer = InputBox("Aimbot", "Type in a username")
If @error = 1 Then Exit
oh thanks :D

Share this post


Link to post
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
Sign in to follow this  
Followers 0