[AutoIt]Mir Fehlt ein Kommando

02/08/2012 21:50 PureGame#1
Hallo e*pvp,

Ich wollte fragen welches wort dort hin muss wo ich es makiert habe

Quote:
$passwort = InputBox ("Passwortcheck","Bitte geben sie das Passwort ein","","*")

If $passwort = ("asdfmovie") Then
MsgBox (0,"Erflogreich","Sie haben das richtige Passwort eingegeben.")
EndIf

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=Bot.kxf
$Form1 = GUICreate("Mt2 Bot", 301, 307, 192, 124)
$Label1 = GUICtrlCreateLabel("Metin2 Bot Mady by xXPureGameXx", 56, 24, 175, 17)
GUICtrlSetBkColor(-1, 0xFF0000)
$Checkbox1 = GUICtrlCreateCheckbox("An/Aus", 112, 104, 57, 25)
$Label2 = GUICtrlCreateLabel("Hack_An/Aus machen", 88, 72, 113, 17)
$Label4 = GUICtrlCreateLabel("Yang aufheben (Y und ^)", 24, 176, 123, 17)
$Label5 = GUICtrlCreateLabel("Potten 1/2", 24, 208, 55, 17)
$Label6 = GUICtrlCreateLabel("Skills nutzen F1/F2", 24, 240, 95, 17)
$Label3 = GUICtrlCreateLabel("Funktionen", 120, 144, 57, 17)
$Checkbox2 = GUICtrlCreateCheckbox("An/Aus", 160, 176, 57, 17)
$Checkbox3 = GUICtrlCreateCheckbox("An/Aus", 160, 208, 73, 17)
$Checkbox4 = GUICtrlCreateCheckbox("An/Aus", 160, 240, 97, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd

If $Label14 Tick(Welches Kommando muss da hin wenn er das ausführen soll) Then
Send ("{y}")

EndIf

If $Label15 Tick(Welches Kommando muss da hin wenn er das ausführen soll) Then
Send ("{1}")
Send ("{2}")

EndIf

If $Label16 Tick (Welches Kommando muss da hin wenn er das ausführen soll) Then
Send("{F1}")
Send("{F2}")

EndIf
Bitte hilft mir ^^

mfg.xXPuregameXx
02/08/2012 22:08 bollen#2
Mit GuiCtrlRead kannst du abfragen ob das häckchen drinn ist oder nicht
tipp1: geb mal das falsche Passwort ein und schau was passiert
tipp2: Die includes kommen immer an den Anfang
tipp3: Schau dir einmal an wo du deine if Bedingungen stehen hast

Danach darfst du den Spoiler öffnen
02/09/2012 13:38 PureGame#3
Omg nice danke suppa hilfe :D
02/09/2012 19:50 jacky919#4
Außerdem würde Einrücken auch nicht schaden...