sub a()
var pk
uo.ignorereset()
uo.ignore('self')
uo.set('finddistance','10')
uo.findtype('0x0190',-1,'ground')
if uo.findcount() then
pk=uo.getserial('finditem')
uo.click(pk)
uo.print(str(uo.getnotoriety(pk)))
wait(5000)
else
uo.print('Nao funcionou')
end if
goto loop
end sub
well
i made this just to test, and it isn't returning 6. I am near a murderer (PK)
and the uo.click() function is clicking on it, so its name appears. So why
this macro shows '0' instead of '6' on the screen ? what's wrong ?
thanks