Code:
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
;Fenster 1
$NPC = GUICreate("NPC Bot", 479, 387, 225, 129)
GUISetBkColor(0xA6CAF0)
$MenuItem1 = GUICtrlCreateMenu("&Menu")
$m_start_bot = GUICtrlCreateMenuItem("- Start Bot -", $MenuItem1)
;Fenster 2
$Form1_1 = GUICreate("Select Bot", 268, 226, 191, 124)
GUISetBkColor(0xA6CAF0)
$ButtonNPC = GUICtrlCreateButton("NPC Bot", 16, 80, 115, 41)
GUICtrlSetBkColor(-1, 0xFF0000)
GUICtrlSetCursor (-1, 0)
$Donate = GUICtrlCreateButton("Donate", 144, 80, 115, 41)
GUICtrlSetCursor (-1, 0)
$Group1 = GUICtrlCreateGroup("Antibann / every mode", 64, 136, 129, 73)
GUICtrlSetBkColor(-1, 0x00FF00)
$combo_antiban = GUICtrlCreateCombo("Off", 88, 168, 73, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "Low|High")
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW, $NPC)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $m_start_bot
GUISetState(@SW_HIDE, $NPC)
GUISetState(@SW_SHOW, $Form1_1)
Case $ButtonNPC
GUISetState(@SW_HIDE, $Form1_1)
GUISetState(@SW_SHOW, $NPC)
EndSwitch
WEnd
Deinen Code hab ich etwas aufgeräumt...
Keine Ahnung was was du mit >& [MENTION= 546457]tab[/MENTION] & ""< vorhattest aber das war einer deiner Fehler. Das ist weder eine Variable, noch ein String also wird es von AutoIt als Fehler ausgegeben.