Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 08:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Bot coding

Discussion on Bot coding within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 642
Received Thanks: 336
Bot coding

Hi ich versuche mir gerade einen eigenen bot zu scriptet das prob ist ich weiß nicht wie ich drei
if's in eine Func Schlaufe setzen soll das der bot 3 funktionen unter einem hotkey macht =(

bsp

Code:
Func test()
While (1)
if PixelGetColor(123,123) = 0x000000 Then
...

if PixelGetColor(321,321) = 0x122323 Then
...
if PixelGetColor(123,321) = 0x233423 Then
...
Endif
WEnd
ENdFunc
war nur ein bsp =)

#edit
ich weiß was schief lief^^ habe stadt nach jedem if ein EndIF die EndIfs unten am Script hingesetzt^^-.- *me = stupid*
<c0d3r> is offline  
Old 07/25/2009, 17:00   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 3,038
Received Thanks: 1,581
0x1337 is offline  
Old 07/25/2009, 17:02   #3
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Quote:
Originally Posted by <c0d3r> View Post
Code:
Func test()
While (1)
if PixelGetColor(123,123) = 0x000000 Then
...

if PixelGetColor(321,321) = 0x122323 Then
...
if PixelGetColor(123,321) = 0x233423 Then
...
Endif
WEnd
ENdFunc

Code:
Func test()
While (1)
if PixelGetColor(123,123) = 0x000000 Then
...
EndIf
if PixelGetColor(321,321) = 0x122323 Then
...
EndIf
if PixelGetColor(123,321) = 0x233423 Then
...
Endif
WEnd
ENdFunc
Oder, wenn immer nur eins von allen passieren soll:
Code:
Func test()
While (1)
if PixelGetColor(123,123) = 0x000000 Then
...
elseif PixelGetColor(321,321) = 0x122323 Then
...
elseif PixelGetColor(123,321) = 0x233423 Then
...
Endif
WEnd
ENdFunc
AllesVergeben is offline  
Reply


Similar Threads Similar Threads
*NEW CODING ART!!!..........:::::~WhiteLight D3D~:::::..........*NEW CODING ART!!!
09/21/2010 - WarRock Hacks, Bots, Cheats & Exploits - 25 Replies
http://250kb.de/u/100911/p/m4buevNCZhoQ.PNG Download: Multiupload.com - upload your files to multiple file hosting sites! VirusScan: VirusTotal - Free Online Virus, Malware and URL Scanner Funktionen: SuperJump Teleport NoSpread NoRecoil
Uce Coding+ winhex coding
03/05/2009 - Dekaron - 8 Replies
i was just wondering is it true if u do coding with winhex is it less dc?? tats all cuz uce coding dcs me alot



All times are GMT +1. The time now is 08:44.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.