this is wat i did i very pls u to edit my and fix my problem or anything that i did wrong, thks
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.0.0
Author: Pom
#ce ----------------------------------------------------------------------------
#include <GUIConstantsEx.au3>
GUICreate ( "Dragonica Bot", 535, 200)
GUICTRLCreateLabel ( "Talk 1", 8, 10)
$key1 = GUICtrlCreateInput ( "", 40, 8, 130)
GUICTRLCreateLabel ( "Talk 2", 8, 40)
$key2 = GUICtrlCreateInput ( "", 40, 38, 130)
GUICTRLCreateLabel ( "Talk 3", 8, 70)
$key3 = GUICtrlCreateInput ( "", 40, 68, 130)
GUICTRLCreateLabel ( "Interval" , 30, 100)
$Interval = GUICtrlCreateInput ( "10000", 78, 98, 50)
$startbutton = GUICtrlCreateButton("Start Bot", 75, 128, 100)
GUISetState(@SW_SHOW)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$sleep1 = GUICtrlRead($Interval)
$send2 = GUICtrlRead($key2)
$sleep1 = GUICtrlRead($Interval)
$send3 = GUICtrlRead($key3)
$sleep1 = GUICtrlRead($Interval)
While 1
ControlSend("Dragonica (Client Ver : 1.0.12)", "", "", "{ENTER}")
Sleep("100")
ControlSend("Dragonica (Client Ver : 1.0.12)", "", "", "test"
Sleep("100")
ControlSend("Dragonica (Client Ver : 1.0.12)", "", "", "{ENTER}")
WEnd
Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop
EndSelect
WEnd
While 1
sleep(1)
WEnd