target guilds enemy
Posted: 2004-10-26 01:10:52
Hi
blank for a long time I try to make a macro for target players enemy, but after months of tests I have lost the hopes
someone could address to me towards the just road?
I have tried with getnotoriety, but on "RunUO Shard" they give many problems to me, it serves to me macro that nameplates single pg of some guilds [ Evils ] or [ Army ] or other and even than nameplates player the more neighbor to me, but he is not indispensable, can be made something?
this is my macro
the problems are:
1) it takes also pk of my guild
2) often the target remains on my pg
3) if the targetnext the macro passes on my pg goes in tilt
4) uo.GetName("laststatus") it always does not work in correct way
sorry for english, I use translator online
tnx ^^

blank for a long time I try to make a macro for target players enemy, but after months of tests I have lost the hopes
someone could address to me towards the just road?
I have tried with getnotoriety, but on "RunUO Shard" they give many problems to me, it serves to me macro that nameplates single pg of some guilds [ Evils ] or [ Army ] or other and even than nameplates player the more neighbor to me, but he is not indispensable, can be made something?
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
this is my macro
the problems are:
1) it takes also pk of my guild
2) often the target remains on my pg
3) if the targetnext the macro passes on my pg goes in tilt
4) uo.GetName("laststatus") it always does not work in correct way
sorry for english, I use translator online

tnx ^^