Register for your free account! | Forgot your password?

You last visited: Today at 13:43

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

Advertisement



AutoIt

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

Reply
 
Old   #1
 
»ScreaT's Avatar
 
elite*gold: 1
Join Date: Jun 2009
Posts: 174
Received Thanks: 15
Exclamation AutoIt

Hallo Leute,
Ich habe einen kleinen Fischöffner für Metin2 geschrieben..
Er ist sehr simpel geht einfach mit der Maus über jedes Invenatar kästchen
und drückt einmal drauf.
Sprich mouseclick ("right", x, y, 1, 1)
so nun muss man aber immer wieder dieses AutoIt symbol anklicken damit der bot startet.
Da bin ich auf eine Idee gekommen.
Weiß nur nich wie ich diese verwirkliche.
Also ich will eine MsgBox machen in der steht "Willst du den Fischöffner Starten?
Ja oder Nein?"
Bei Ja - Startet der bot aber die MsgBox ist nicht weg.
Bei Nein - Schließt sich die Box.
Ich habe hier nix drüber gefunden.

Hoffe auf schnelle antwort & das ihr mein Problem versteht
»ScreaT is offline  
Old 01/12/2011, 18:57   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,640
Received Thanks: 548
Gehört in die
Saryo is offline  
Old 01/13/2011, 07:23   #3




 
invisible's Avatar
 
elite*gold: 0
Join Date: Jul 2005
Posts: 12,457
Received Thanks: 2,961
#moved
invisible is offline  
Old 01/13/2011, 08:03   #4
 
.2good4you111's Avatar
 
elite*gold: 20
Join Date: Oct 2010
Posts: 1,303
Received Thanks: 457
Code:
$msg=MsgBox ( 48+4, "Willst du den Bot starten?", "Willst du den Bot starten?" )
If $msg = 6 Then
   MsgBox ( 0, "Antwort", "Der Bot wird nun gestartet." ,3)
   bot() ;hier springt das script zu deiner Funktion
ElseIf $msg=7 Then
   MsgBox ( 0, "Antwort", "Der Bot wird verlassen" ,3)
   exit
EndIf

Func bot()
	MsgBox(0,"Started...", "")
EndFunc
.2good4you111 is offline  
Reply




All times are GMT +1. The time now is 13:49.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.