A little help for my melee macro please
Posted: July 14th, 2005, 2:39 am
ive tried alot, but can figure it out still, now it will run at a mob hit it then just sit then hit nother mob then sit over and over again, not very safe, heres the code, and ill put a screenshot of the game, the target window is at the top, which i made a full 255 red
Code: Register to unlock hidden link
//Made by Jibber Jabber on Wrath Server (n-tardif@techie.com)
// c is bound to combat mode
// G is bound to taget next mob
// f is bound to attack target
// z is bound to sit/rest
// End is bound to target to self
// I changed it so the target shows in all red 255
constants
red=0
green=0
blue=0
red2=0
green2=0
blue2=0
end
SetActiveWindow Shadowbane
Delay 1000
loop 1
call fighter
end
procedure fighter
keys c
delay 100
keys g
delay 100
keys f
delay 100
call load
end
procedure load
LoadRGB 688, 6
setconst Red = {RGBRED}
setconst Green = {RGBGREEN}
setconst Blue = {RGBBLUE}
CASE
WHEN $Red > 200
call kill
else
call load2
END
end
procedure kill
delay 2 sec
call load
end
procedure load2
keys {end}
LoadRGB 707, 9
SetConst red2 = {RGBRED}
SetConst green2 = {RGBGREEN}
SetConst blue2 = {RGBBLUE}
call rest
End
procedure rest
if $red2 < 255
call rester
else
call fighter
end
end
procedure rester
keys z
delay 10 sec
call load2
end