My bot.

02/09/2010 09:39 Dostrix#1
Hey,
i want do my first bot to rappelz
its small bot, because have only one option.
his target mob and attack him.

Code:
HotKeySet("{END}","END")
#include <GUIConstantsEx.au3>
GuiCreate( "Sratatata", 190, 125 ) ;gui
$Start = GuiCtrlCreateButton("Start", 60, 73, 60, 30 ) ; button start
Guisetstate(@SW_SHOW)
While 1
        $msg = GUIGetMsg()
        Select
                Case $msg = $GUI_EVENT_CLOSE
                        Exit ;---- End bot
                Case $msg = $Start
                        While 1
                                SPAM() 
                        WEnd
        EndSelect
WEnd
Func spam() ;
        Send( "{TAB}" )
        Send( "1" )
        sleep(1000)
        EndFunc
Func KONIEC()
        Exit
EndFunc
But it dont work in game.
In internet, msn or other programs, its work. In rappelz not.
Help.