Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 06:07

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

Advertisement



Func Fehler

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

Reply
 
Old   #1
 
BigrApMac's Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 656
Received Thanks: 111
Func Fehler

Ich weis einfach nicht wie ich das Problem lösen soll, was ist falsch ?

Als Fehler wenn ich es starten will kommt:

Line 10 (File ""):
Error: "Func" statement has no matching "EndFunc".

Code:
Func _Leertaste() 
ControlSend("NosTale", "", 0 , "{8}") 
Sleep(120000) 
ControlSend("NosTale", "", 0 , "{7}") 
Sleep(120000)
EndFunc

While 1 
_Leertaste() 
WEnd 
EndFunc
BigrApMac is offline  
Old 03/10/2013, 02:27   #2
 
Der-Eddy's Avatar
 
elite*gold: 205
Join Date: Nov 2008
Posts: 67,906
Received Thanks: 19,505
Code:
[COLOR="Blue"]Func _Leertaste() [/COLOR]
ControlSend("NosTale", "", 0 , "{8}") 
Sleep(120000) 
ControlSend("NosTale", "", 0 , "{7}") 
Sleep(120000)
[COLOR="Blue"]EndFunc[/COLOR]

While 1 
_Leertaste() 
WEnd 
[COLOR="Red"]EndFunc[/COLOR]
Das letzte EndFunc hat keinen Starter Func Aufruf
einfach rauslöschen
Der-Eddy is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Func nach der func ausführen problem
08/15/2011 - AutoIt - 6 Replies
Hi, ich hab hier mal nen code schnipel der nicht funktioniert.. Die error Erkennung... if StringInStr($oWebTcp.body, "Du kannst nicht weitermachen...") Then GUICtrlSetData($list1, "Login failed. Please fix"&" = "&$array&" ANR: ")
Func in Func ?
02/11/2011 - AutoIt - 8 Replies
Hallo E*PvP, Ich habe eine frage , ich will ein shortcut ..ding machen ..xD also wen ich z.b F1 drücke,soll ich in ein Menü reinkommen und dan auch für F1 etwas anderes amchen also z.b F1= Begrüßungs hotkeys => Press F1 =>
[Fragen zu] Gui Hide & Show / Admin Rights / Func in Func
12/12/2010 - AutoIt - 29 Replies
Hi Leute, wie ihr oben ja bereits lesen könnt habe ich ein paar Fragen. 1. Könnte mir jmd. eine Hotkeyset-Func schreiben, womit ich mit nur einer (!) Taste die GUI verstecken und wieder anzeigen lassen kann ? 2. Gibt es etwas, dass dem gescripteten Tool von selbst Adminrechte verschafft? Ich rede NICHT von RequireAdmin, da muss man ja Administrator des PCs sein. €: Kann "#requireadmin" rausgezögert werden ?! Ich möchte, dass das passiert, aber erst, wenn ich einen Knopf gedrückt...
wr func net
04/02/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
Wenn ich wr starte und auf game starten klcike steht da "ERROR:Cannot Find Exeute file! was muss ich machen habe win 7
Need help Func
04/11/2009 - GW Bots - 12 Replies
Hi all, I have a little issue with the bot I'm doin using the tt6 move to engine. I'm trying the make it scan in front of my charc on the minimap to check if enemies are present. So here's the func: ;scan if enemy is in front of us Func ScanEnemy1() PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10) If @error then Sleep( 100 ) PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10) if @error then return False EndIf



All times are GMT +1. The time now is 06:09.


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.