Target\Attack player

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
virussino
Posts: 22
Joined: 2004-10-02 14:37:13

Target\Attack player

Post 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
jjdad
Posts: 6
Joined: 2004-08-07 09:19:57

Is there anyway to make it loop?

Post 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.
Post Reply