Code:
#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_outfile=Eckstein Bot - by blauwiggle.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseUpx=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
; Eckstein Bot - by blauwiggle --> http://www.epvp.de
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$eckstein = GUICreate("Eckstein Bot - by blauwiggle", 294, 226, 525, 539)
$soff = GUICtrlCreateButton("Stealth OFF", 184, 96, 91, 41, 0)
$son = GUICtrlCreateButton("Stealth ON", 184, 48, 91, 41, 0)
$end = GUICtrlCreateButton("Beenden", 184, 144, 91, 41, 0)
$Input = GUICtrlCreateInput("Wie heißt der Bot?", 32, 40, 121, 21)
$Input1 = GUICtrlCreateInput("Guild Wars1", 32, 72, 121, 21)
$Input2 = GUICtrlCreateInput("Guild Wars2", 32, 104, 121, 21)
$Input3 = GUICtrlCreateInput("Guild Wars3", 32, 136, 121, 21)
$Input4 = GUICtrlCreateInput("Guild Wars4", 32, 168, 121, 21)
$Group1 = GUICtrlCreateGroup(" Wie heißen die Fenster? ", 16, 16, 153, 193)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Label1 = GUICtrlCreateLabel("(c) blauwiggle", 208, 192, 69, 17)
GUISetState(@SW_SHOW)
HotKeySet("{PGUP}", "stealth_on")
HotKeySet("{PGDN}", "stealth_off")
HotKeySet("{END}", "exitit")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $end
Exit
Case $son
stealth_on()
Case $soff
stealth_off()
EndSwitch
WEnd
Func stealth_on()
WinSetState(GUICtrlRead($Input),"",@SW_HIDE)
WinSetState(GUICtrlRead($Input1),"",@SW_HIDE)
WinSetState(GUICtrlRead($Input2),"",@SW_HIDE)
WinSetState(GUICtrlRead($Input3),"",@SW_HIDE)
WinSetState(GUICtrlRead($Input4),"",@SW_HIDE)
EndFunc
Func stealth_off()
WinSetState(GUICtrlRead($Input),"",@SW_SHOW)
WinSetState(GUICtrlRead($Input1),"",@SW_SHOW)
WinSetState(GUICtrlRead($Input2),"",@SW_SHOW)
WinSetState(GUICtrlRead($Input3),"",@SW_SHOW)
WinSetState(GUICtrlRead($Input4),"",@SW_SHOW)
EndFunc
Func exitit()
Exit
EndFunc