Hotkeyset ( "{F5}" , "start" )
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Misc.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("MultiBot 1.0 by gigax2", 341, 123, 193, 115)
GUISetIcon("C:\Programme\Metin2_Germany\config.exe ")
$Vari = GUICtrlCreateInput("q", 88, 56, 81, 21)
$Time =GUICtrlCreateInput("1000", 88, 88, 81, 21)
$Label1 = GUICtrlCreateLabel("Deine Taste", 16, 56, 62, 17)
$Label2 = GUICtrlCreateLabel("und die Zeit", 16, 88, 60, 17)
$Label3 = GUICtrlCreateLabel("Dieser Bot drückt zu einer beliebigen Zeit einen beliebige Taste.", 16, 16, 305, 17)
$Label4 = GUICtrlCreateLabel("1 sek. = 1000", 184, 88, 69, 17)
$Zeit = GUICtrlRead($time)
$Taste = GUICtrlRead($Vari)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Taste
EndSwitch
WEnd
Func start ()
Do
Send ( $Taste )
sleep ( $Zeit )
Until _IsPressed(75)
GUIDelete($Form1)
Exit
EndFunc
Aber so funktioniert das Beenden nicht genau ;)
Func Pause ()
$Paused = NOT $Paused
While 1
sleep (10)
wend
endfunc
oder i.wie so xD
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Misc.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("MultiBot 1.0 by gigax2", 341, 123, 193, 115)
GUISetIcon("C:\Programme\Metin2_Germany\config.exe ")
$Vari = GUICtrlCreateInput("q", 88, 56, 81, 21)
$Time =GUICtrlCreateInput("1000", 88, 88, 81, 21)
$Label1 = GUICtrlCreateLabel("Deine Taste", 16, 56, 62, 17)
$Label2 = GUICtrlCreateLabel("und die Zeit", 16, 88, 60, 17)
$Label3 = GUICtrlCreateLabel("Dieser Bot drückt zu einer beliebigen Zeit einen beliebige Taste.", 16, 16, 305, 17)
$Label4 = GUICtrlCreateLabel("1 sek. = 1000", 184, 88, 69, 17)
$Zeit = GUICtrlRead($time)
$Taste = GUICtrlRead($Vari)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Taste
EndSwitch
WEnd
Func start ()
Do
Send ( $Taste )
sleep ( $Zeit )
Until _IsPressed(75)
GUIDelete($Form1)
Exit
EndFunc
Aber so funktioniert das Beenden nicht genau ;)
Func Pause ()
$Paused = NOT $Paused
While 1
sleep (10)
wend
endfunc
oder i.wie so xD