HelpPossible To Use If And While Together

Posts 1–5 of 5 · Page 1 of 1
Possible To Use If And While Together
hay guys,
i have made a bot which loops and everything realy basic 1 but i got kiked out of a game couse i was afk boting anyway i made and afk checker so that wen they ask who on it would respond automaticlly. the afk checker works perfectly but i cant combine the 2 together

i will show you the codes i use. this may help u lot to understand better.

this is my infinite loop one:

Code:
While 1=1    Send ("{M down}")    Sleep (10) Send ("{N down}")    Sleep (10)    Send ("{N up}")    Sleep (500)       WEnd
and this is my afk checker:
Code:
$pixel = PixelSearch(761, 140, 1318, 433, 0xC0C0C0) if IsArray($pixal) = True Then    send ("{V down}")    sleep (10)    send ("{V up}")    sleep (10)    send ("hello broski")    EndIf
this is my first time inserting codes so if i get it wrong dont go crazy just help me out
thx
this is autoit... not c++/c
if nobody helps u u can go to a autoit forum
whats the difference between c++ and autoit
i went there first couse i am using autoit and they dont do game hacking so whenever i tried to ask them they locked and band me so cant help it
and also which is better to use if u gonna bot autoit or c++
i used autoit a long time ago and it was good for gui´s and so on but not for make hacks ... (=
u must use writeprocessmemory api´s and they were hooked by xtrap mostly... so c++ is better for do this yob (=
C++ Logic Statement Structure:
Code:
While (Condition) {
if (condition == result) {
  
  }
}
I have never used Auto-IT but i would asume its not far off that
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us