macht mal nen bot mit jedem item und p's etc alles rein dann muss ihc nich immer code eingeben -.- xD wen einer einen hat pls posten
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Form2", 405, 296, 253, 136)
$Button1 = GUICtrlCreateButton("Button1", 144, 72, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$windowname="METIN2"
$handle = WinGetHandle($windowname, "")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Sleep(500)
ControlSend($windowname,'','', "{ENTER}")
Sleep(2000)
Controlsend($windowname,'','', "{ALTDOWN}{NUMPAD4}{NUMPAD7}{ALTUP}")
ControlSend($windowname,'','', "m 101 10")
Controlsend($windowname,'','', "{ENTER}")
ControlSend($windowname,'','', "{ENTER}")
EndSwitch
WEnd