IKilledBambi Posted November 15, 2008 Posted November 15, 2008 (edited) Func _Pixels() If $Pix1 = 0xEAE7E6 Then Call("_BottomStash") ;### Tidy Error -> "else" is closing previous "func" ElseIf $Pix2 = 0x7E9FD0 Then Call("_UnderBlue1") ElseIf $Pix3 = 0x857254 And $Pix4 = 0x89734C Then Call("_RightOfBlue") ElseIf $Pix5 = 0x1F120C Then Call("_AtSheep") ElseIf $Pix6 = 0x65665E Then Call("_FarFromSheep") EndFunc ;==>_Pixels I'm not really getting why that doesn't work. EDIT* With a second try at searching for the problem I found it. Edited November 15, 2008 by IKilledBambi
ChangMinYang Posted November 15, 2008 Posted November 15, 2008 Func _Pixels() If $Pix1 = 0xEAE7E6 Then Call("_BottomStash") ;### Tidy Error -> "else" is closing previous "func" ElseIf $Pix2 = 0x7E9FD0 Then Call("_UnderBlue1") ElseIf $Pix3 = 0x857254 And $Pix4 = 0x89734C Then Call("_RightOfBlue") ElseIf $Pix5 = 0x1F120C Then Call("_AtSheep") ElseIf $Pix6 = 0x65665E Then Call("_FarFromSheep") EndFunc;==>_Pixels I'm not really getting why that doesn't work. EDIT* With a second try at searching for the problem I found it. You forgot to 'EndIf'
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now