Group Healing

06/03/2004 09:40 Lowfyr#1
Requirements: [Only registered and activated users can see links. Click Here To Register...]

wie der name schon sagt müsst ihr euch in einer gruppe befinden, nachdem ihr einer party gejoined seid zählt die members und tragt die anzahl bei "groupSize" im script ein

habs nicht getestet, bitte confirmen

Code:
SetActiveWindow Lineage II 

Constants 

HealDelay = 8 sec 

groupSize = 2 // Number of people in group 

c1 = 0 // counter 1 

c2 = 0 // counter 1 

c3 = 0 // counter 1 

xcoordPuller = 70 

ycoordPuller = 100 

xcoordP1HP = 111 //x coord of P1 health bar - RED 198 

ycoordP1HP = 29 //y coord of P1 health bar 

xcoordP2HP = 100 //x coord of P2 health bar - RED 181 

ycoordP2HP = 109 //y coord of P2 health bar 

xcoordP3HP = 100 //x coord of P3 health bar - RED 181 

ycoordP3HP = 143 //y coord of P3 health bar 

xcoordP4HP = 100 //x coord of P4 health bar 

ycoordP4HP = 177 //y coord of P4 health bar 

xcoordP5HP = 100 //x coord of P5 health bar 

ycoordP5HP = 211 //y coord of P5 health bar 

xcoordP6HP = 100 //x coord of P6 health bar 

ycoordP6HP = 245 //y coord of P6 health bar 

xcoordP7HP = 100 //x coord of P6 health bar 

ycoordP7HP = 279 //y coord of P6 health bar 

xcoordP8HP = 100 //x coord of P6 health bar 

ycoordP8HP = 313 //y coord of P6 health bar 

End 

While 1=1 

MousePos $xcoordPuller, $ycoordPuller 
LeftClick 
delay 0.1 sec 
LeftClick 
delay 0.1 sec 
LeftClick 
delay 0.1 sec 
LeftClick 
delay 0.1 sec 
LeftClick 
delay 1 sec 

GetRed $xcoordP2HP, $ycoordP2HP = 130 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 131 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 132 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 133 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 134 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 135 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 136 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 137 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 138 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 139 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 140 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 141 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 142 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 143 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 144 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 145 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 146 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 147 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 

if $groupsize > 2 

GetRed $xcoordP3HP, $ycoordP3HP = 130 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 131 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 132 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 133 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 134 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 135 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 136 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 137 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 138 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 139 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 140 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 141 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 142 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 143 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 144 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 145 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 146 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP3HP, $ycoordP3HP = 147 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
END 

if $groupsize > 3 

GetRed $xcoordP4HP, $ycoordP4HP = 130 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 131 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 132 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 133 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 134 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 135 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 136 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 137 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 138 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 139 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 140 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 141 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 142 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 143 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 144 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 145 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 146 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP4HP, $ycoordP4HP = 147 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
END 

if $groupsize > 4 
GetRed $xcoordP5HP, $ycoordP5HP = 130 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 131 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 132 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 133 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 134 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 135 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 136 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 137 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 138 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 139 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 140 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 141 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 142 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 143 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 144 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 145 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 146 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP5HP, $ycoordP5HP = 147 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
END 

if $groupsize > 5 

GetRed $xcoordP6HP, $ycoordP6HP = 130 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 131 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 132 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 133 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 134 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 135 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 136 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 137 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 138 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 139 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 140 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 141 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 142 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 143 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 144 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 145 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 146 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP6HP, $ycoordP6HP = 147 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
END 

if $groupsize > 6 

GetRed $xcoordP7HP, $ycoordP7HP = 130 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 131 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 132 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 133 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 134 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 135 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 136 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 137 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 138 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 139 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 140 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 141 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 142 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 143 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 144 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 145 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 146 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP7HP, $ycoordP7HP = 147 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
END 

if $groupsize > 7 
GetRed $xcoordP2HP, $ycoordP2HP = 130 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 131 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 132 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 133 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 134 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 135 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 136 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 137 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 138 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 139 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 140 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 141 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 142 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 143 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 144 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 145 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 146 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
GetRed $xcoordP2HP, $ycoordP2HP = 147 //should be coords of puller's hp 
Keydown {F2} 100 //heal key 
delay $casttime sec 
END 
END 
END