guictrlread($input)
#include <GUIConstants.au3>
$Form1_1 = GUICreate("Form1", 630, 446, 193, 125)
$Label1 = GUICtrlCreateLabel("Username", 128, 104, 115, 53)
GUICtrlSetFont(-1, 33, 400, 2, "Got heroin?")
$Start = GUICtrlCreateButton("Start", 136, 272, 123, 49, 0)
GUICtrlSetFont(-1, 33, 800, 2, "Got heroin?")
$username = GUICtrlCreateInput("", 312, 128, 121, 21)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Stop = GUICtrlCreateButton("Stop", 312, 272, 123, 49, 0)
GUICtrlSetFont(-1, 33, 800, 2, "Got heroin?")
$Label2 = GUICtrlCreateLabel("Password ", 128, 176, 138, 53)
GUICtrlSetFont(-1, 33, 800, 2, "Got heroin?")
$password = GUICtrlCreateInput("", 312, 192, 121, 21)
GUISetState(@SW_SHOW)
Sleep(100)
$hwnd2 = WinGetHandle("Habbo loggin Bot")
Opt("SendKeyDownDelay", 50)
Opt("SendKeyDelay", 50)
Func hello()
Run("C:\Programme\Internet Explorer\iexplore.exe", "", @SW_MAXIMIZE)
Sleep(7000)
$hwnd = WinGetHandle("Google - Windows Internet Explorer")
ControlSend($hwnd, "", 0, "{F6}")
Sleep(50)
ControlSend($hwnd, "", 0, "www.habbo.de")
Sleep(50)
ControlSend($hwnd, "", 0, "{enter}")
Sleep(5000)
ControlSend($hwnd, "", 0, "{F6}")
Sleep(50)
ControlSend($hwnd, "", 0, "{F6}")
Sleep(50)
ControlSend($hwnd, "", 0, "{F6}")
Sleep(50)
ControlSend($hwnd, "", 0, guictrlread($username))
Sleep(50)
ControlSend($hwnd, "", 0, "{TAB}")
Sleep(50)
ControlSend($hwnd, "", 0, guictrlread($password))
Sleep(50)
ControlSend($hwnd, "", 0, "{enter}")
Sleep(1000)
MsgBox("", "Alter Habbo Suchtie ;D", "VIEL SPASS BEIM ZOCKEN!")
EndFunc
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Start
hello()
Case $Stop
ExitLoop
EndSwitch
WEnd
Exit