#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 139, 193, 125)
$Input1 = GUICtrlCreateInput("Input1", 24, 16, 481, 21)
$inhalt1 = GUICtrlRead ($input1)
$Button1 = GUICtrlCreateButton("Button1", 32, 56, 497, 57, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
			
			Case $button1
			If $inhalt1 = "Alex" Then
				MsgBox (0,"Willkommen","Hallo Alex!")
			Else
				MsgBox (0,"Falscher Benutzer","Es tut mir leid, Du bist nicht Alex!")
			EndIf
			
			
	EndSwitch
WEnd
