Target\Attack player
Posted: 2004-10-10 23:11:50
Code: Select all
sub target()
var exit = 0
var noto = 0
wait (200)
while (exit <= 10)
exit = exit + 1
uo.press (56) ; target next (8)
wait (300)
noto = UO.GetNotoriety("laststatus")
if ((noto == 6) || (noto == 5) || (noto == 4)) && (uo.GetName("laststatus")) then
uo.print("TARGET: "+uo.GetName("laststatus"))
; uo.attack("laststatus")
return
end if
wend
end sub