Hey Leute, bin grad total am verzweifeln ![]()
Ich hoffe ihr könnt mir helfen.
Es geht um diesen Code:
ZitatAlles anzeigen; ---------------------------------------------------
; ---------------------------------------------------
; ---------------------------------------------------$a_1 = "Long Time Party"
$a_2 = "Long Time Party - Auto Reform/Accept"
$a_3 = "LTP"
$a_4 = "LTP Auto Reform/Accept"
$a_5 = "10% more EXP and SP"
$a_6 = "~ ~ ~ 24/7 LTP ~ ~ ~"$sek2 = sleep (2000)
$sek5 = sleep (5000)
$sek10 = sleep (10000)$player1 = PixelGetColor (21, 156) = 0x47453F
$player2 = PixelGetColor (22, 225) = 0xD6CFAD
$player3 = PixelGetColor (20, 302) = 0x47453F; ---------------------------------------------------
; ---------------------------------------------------
; ---------------------------------------------------If $player1 and $player2 and $player3 Then
$sek5ElseIf $player3 Then
sleep (1000)
Send ("{e}")
sleep (1000)
mousemove (741,658)
sleep (100)
mouseclick ("left", 741,658)
sleep (500)
mousemove (590,667)
sleep (100)
mouseclick ("left", 590,667)
sleep (3500)
Send ("{e}")
sleep (10000)
EndIfElseIf $player2 Then
sleep (1000)
Send ("{e}")
sleep (1000)
mousemove (741,658)
sleep (100)
mouseclick ("left", 741,658)
sleep (500)
mousemove (590,667)
sleep (100)
mouseclick ("left", 590,667)
sleep (3500)
Send ("{e}")
sleep (10000)
EndIfElse
sleep (1000)
Send ("{e}")
sleep (1000)
mousemove (741,658)
sleep (100)
mouseclick ("left", 741,658)
sleep (500)
mousemove (590,667)
sleep (100)
mouseclick ("left", 590,667)
sleep (3500)
Send ("{e}")
sleep (10000)
EndIf
Mein Problem ist folgendes, ich habe das programm so aufgebaut das wenn Variable $player1, $player2, $player3 gleichzeitg aktiv sind, nichts passieren soll. Nun möchte ich das wenn $player2 oder/und $player3 nichtmehr da ist bzw nichtmehr aktiv ist das er dann das ausführt.
ZitatAlles anzeigensleep (1000)
Send ("{e}")
sleep (1000)
mousemove (741,658)
sleep (100)
mouseclick ("left", 741,658)
sleep (500)
mousemove (590,667)
sleep (100)
mouseclick ("left", 590,667)
sleep (3500)
Send ("{e}")
sleep (10000)
PS:
= 8 )
Danke schonmal ![]()