Page 1 of 1

Target\Attack player

Posted: 2004-10-10 23:11:50
by virussino

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

Is there anyway to make it loop?

Posted: 2004-12-27 02:35:22
by jjdad
Hi, does anyone know how to make this script loop? so i dont need to click run function for it to do it? it does it when a certain thing is done like i lose 10hp or sumfin?. Anyways if u know just post here plz.