Hallo Leute ich hab angefangen mire nen Quest Bot zu bauen der meien Char automatisch Qesten schickt.
Hie poste ich alle Probleme auf die ich stoße.(Ist mein erster Bot)
1. Wie kann ich die Schriftgröße in einem Label ändern?
2.Wie kann ich einen Button und ein Radio verbinden also dass die Func erst startet wenn ich den Radio ausgewählt habe und der Button drücke.
[autoit]#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Jannick\Desktop\MENUE.kxf
$Form1 = GUICreate("Form1", 633, 447, 192, 124)
$Radio1 = GUICtrlCreateRadio("QUEST1", 80, 80, 73, 17)
$Radio2 = GUICtrlCreateRadio("QUEST2", 160, 80, 73, 17)
$Radio3 = GUICtrlCreateRadio("QUEST3", 240, 80, 73, 17)
$Checkbox1 = GUICtrlCreateCheckbox("KAMPF", 360, 80, 81, 17)
$Radio4 = GUICtrlCreateRadio("QUEST4", 80, 112, 73, 17)
$Radio5 = GUICtrlCreateRadio("QUEST5", 160, 112, 73, 17)
$Radio6 = GUICtrlCreateRadio("QUEST6", 240, 112, 73, 17)
$Radio7 = GUICtrlCreateRadio("QUEST7", 80, 144, 73, 17)
$Radio8 = GUICtrlCreateRadio("QUEST8", 160, 144, 73, 17)
$Radio9 = GUICtrlCreateRadio("QUEST9", 240, 144, 73, 17)
$Radio10 = GUICtrlCreateRadio("QUEST10", 80, 176, 73, 17)
$Radio11 = GUICtrlCreateRadio("QUEST11", 160, 176, 73, 17)
$Radio12 = GUICtrlCreateRadio("QUEST12", 240, 176, 73, 17)
$Radio13 = GUICtrlCreateRadio("QUEST13", 80, 208, 73, 17)
$Radio14 = GUICtrlCreateRadio("QUEST14", 160, 208, 73, 17)
$Radio15 = GUICtrlCreateRadio("QUEST15", 240, 208, 73, 17)
$Checkbox2 = GUICtrlCreateCheckbox("KAMPF", 360, 112, 81, 17)
$Checkbox3 = GUICtrlCreateCheckbox("KAMPF", 360, 144, 81, 17)
$Checkbox4 = GUICtrlCreateCheckbox("KAMPF", 360, 176, 81, 17)
$Checkbox5 = GUICtrlCreateCheckbox("KAMPF", 360, 208, 81, 17)
$Input1 = GUICtrlCreateInput("", 448, 80, 121, 21)
$Input2 = GUICtrlCreateInput("", 448, 112, 121, 21)
$Input3 = GUICtrlCreateInput("", 448, 144, 121, 21)
$Input4 = GUICtrlCreateInput("", 448, 176, 121, 21)
$Input5 = GUICtrlCreateInput("", 448, 208, 121, 21)
$Button1 = GUICtrlCreateButton("START", 280, 336, 75, 25, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("LEGEN_ONLINE_QUEST-Bot", 80, 16, 284, 41)
$Button2 = GUICtrlCreateButton("Button2", 280, 296, 75, 25, $WS_GROUP)
$Checkbox6 = GUICtrlCreateCheckbox("Dungeon", 80, 240, 97, 17)
$Checkbox7 = GUICtrlCreateCheckbox("12h Arbeiten", 80, 264, 97, 17)
$Label2 = GUICtrlCreateLabel("1.QUEST", 30, 80, 48, 17)
$Label3 = GUICtrlCreateLabel("2.QUEST", 30, 112, 48, 17)
$Label4 = GUICtrlCreateLabel("3.QUEST", 30, 144, 48, 17)
$Label5 = GUICtrlCreateLabel("4.QUEST", 30, 176, 48, 17)
$Label6 = GUICtrlCreateLabel("5.QUEST", 30, 208, 48, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Func1 ()
EndSwitch
WEnd
Ich will halt irgentwie $button1 und $Radio1 verbinden und das hab ich mit AND versucht klappt aber net. wie geht das???
Greetz Jannickolithsch