Post by petar113507 on Oct 19, 2005 23:16:16 GMT -5
Okiedokie... This is to fight the fish, and breaks itself after I get down to Pixel10
Because I labeled individual pixels, I realise that's what made it kinda ineffecinet. I know there's a better way. I just don't know how to get there. On other forums I have been flamed for posting scripts that work, but they are a tad on the basic side, but they get the task done. I have left those forums....
So far this has been a kickass place.
I broke the loop, because I don't have a text reader, nor do I know how to make one. I set this to a macros, and I still have alot of whitespace in here.
(Please don't quote this... I'm pretty sure that streches posts.)
here goes: ;D
Because I labeled individual pixels, I realise that's what made it kinda ineffecinet. I know there's a better way. I just don't know how to get there. On other forums I have been flamed for posting scripts that work, but they are a tad on the basic side, but they get the task done. I have left those forums....
So far this has been a kickass place.
I broke the loop, because I don't have a text reader, nor do I know how to make one. I set this to a macros, and I still have alot of whitespace in here.
(Please don't quote this... I'm pretty sure that streches posts.)
here goes: ;D
$Pixel64=PixelGetColor( 772 , 567 )
$Pixel63=PixelGetColor( 771 , 567 )
$Pixel62=PixelGetColor( 770 , 567 )
$Pixel61=PixelGetColor( 769 , 567 )
$Pixel60=PixelGetColor( 768 , 567 )
$Pixel59=PixelGetColor( 767 , 567 )
$Pixel58=PixelGetColor( 766 , 567 )
$Pixel57=PixelGetColor( 765 , 567 )
$Pixel56=PixelGetColor( 764 , 567 )
$Pixel55=PixelGetColor( 763 , 567 )
$Pixel54=PixelGetColor( 762 , 567 )
$Pixel53=PixelGetColor( 761 , 567 )
$Pixel52=PixelGetColor( 760 , 567 )
$Pixel51=PixelGetColor( 759 , 567 )
$Pixel50=PixelGetColor( 758 , 567 )
$Pixel49=PixelGetColor( 757 , 567 )
$Pixel48=PixelGetColor( 756 , 567 )
$Pixel47=PixelGetColor( 755 , 567 )
$Pixel46=PixelGetColor( 754 , 567 )
$Pixel45=PixelGetColor( 753 , 567 )
$Pixel44=PixelGetColor( 752 , 567 )
$Pixel43=PixelGetColor( 751 , 567 )
$Pixel42=PixelGetColor( 750 , 567 )
$Pixel41=PixelGetColor( 749 , 567 )
$Pixel40=PixelGetColor( 748 , 567 )
$Pixel39=PixelGetColor( 747 , 567 )
$Pixel38=PixelGetColor( 746 , 567 )
$Pixel37=PixelGetColor( 745 , 567 )
$Pixel36=PixelGetColor( 744 , 567 )
$Pixel35=PixelGetColor( 743 , 567 )
$Pixel34=PixelGetColor( 742 , 567 )
$Pixel33=PixelGetColor( 741 , 567 )
$Pixel32=PixelGetColor( 740 , 567 )
$Pixel31=PixelGetColor( 739 , 567 )
$Pixel30=PixelGetColor( 738 , 567 )
$Pixel29=PixelGetColor( 737 , 567 )
$Pixel28=PixelGetColor( 736 , 567 )
$Pixel27=PixelGetColor( 735 , 567 )
$Pixel26=PixelGetColor( 734 , 567 )
$Pixel25=PixelGetColor( 733 , 567 )
$Pixel24=PixelGetColor( 732 , 567 )
$Pixel23=PixelGetColor( 731 , 567 )
$Pixel22=PixelGetColor( 730 , 567 )
$Pixel21=PixelGetColor( 729 , 567 )
$Pixel20=PixelGetColor( 728 , 567 )
$Pixel19=PixelGetColor( 727 , 567 )
$Pixel18=PixelGetColor( 726 , 567 )
$Pixel17=PixelGetColor( 725 , 567 )
$Pixel16=PixelGetColor( 724 , 567 )
$Pixel15=PixelGetColor( 723 , 567 )
$Pixel14=PixelGetColor( 722 , 567 )
$Pixel13=PixelGetColor( 721 , 567 )
$Pixel12=PixelGetColor( 720 , 567 )
$Pixel11=PixelGetColor( 719 , 567 )
$Pixel10=PixelGetColor( 718 , 567 )
$Pixel9=PixelGetColor( 717 , 567 )
$Pixel8=PixelGetColor( 716 , 567 )
$Pixel7=PixelGetColor( 715 , 567 )
$Pixel6=PixelGetColor( 714 , 567 )
$Pixel5=PixelGetColor( 713 , 567 )
$Pixel4=PixelGetColor( 712 , 567 )
$Pixel3=PixelGetColor( 711 , 567 )
$Pixel2=PixelGetColor( 710 , 567 )
$Pixel1=PixelGetColor( 709 , 567 )
$Pixel0=PixelGetColor( 708 , 567 )
Func FishFight6()
Send( "{NUMPAD6}" )
Send( "{NUMPAD6}" )
Send( "{NUMPAD6}" )
Send( "{NUMPAD6}" )
Send( "{NUMPAD6}" )
Send( "{NUMPAD6}" )
EndFunc
If( $Pixel64 = 10198015 ) Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel64 = 10198015 )
ThenFishFight6()
EndIf
If( $Pixel63 = 10198015 ) Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel63 = 10198015 ) Then
FishFight6()
EndIf
If( $Pixel62 = 10198015 ) Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel62 = 10198015 ) Then
FishFight6()
EndIf
If( $Pixel61 = 10198015 ) Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel61 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel60 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel60 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel59 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel59 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel58 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel58 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel57 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel57 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel56 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel56 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel55 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel55 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel54 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel54 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel53 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel53 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel52 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel52 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel51 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel51 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel50 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel50 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel49 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel49 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel48 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel48 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel47 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel47 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel46 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel46 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel45 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel45 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel44 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel44 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel43 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel43 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel42 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel42 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel41 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel41 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel40 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel40 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel39 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel39 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel38 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel38 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel37 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel37 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel36 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel36 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel35 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel35 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel34 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel34 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel33 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel33 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel32 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel32 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel31 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel31 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel30 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel30 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel29 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel29 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel28 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel28 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel27 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel27 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel26 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel26 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel25 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel25 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel24 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel24 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel22 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel22 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel22 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel22 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel21 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel21 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel20 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel20 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel19 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel19 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel18 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel18 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel17 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel17 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel16 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel16 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel15 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel15 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel14 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel14 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel13 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel13 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel12 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel12 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel11 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel11 = 10198015 )Then
FishFight6()
EndIf
If( $Pixel10 = 10198015 )Then
Send( "{NUMPAD4}" )
EndIf
If( $Pixel10 = 10198015 )Then
FishFight6()
EndIf