can anyone give me this little script
i want to make a hotkey that does this script.
steps
1) dismount
2) drink total refresh
3) mount again
thnx a lot !
dismount drink, total refresh, mount again
Moderators: Murderator+, Murderator
-
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Code: Select all
sub TotalRefresh()
var horse = uo.objatlayer("horse");
if not horse == "0x0000000" then
uo.useobject("self")
endif
uo.usetype(TYPE, COLOR) ; Total Refresh
if not horse == "0x0000000" then
uo.useobject(horse)
endif
endsub
You can insert pause or checklag() in this script.
Thnx,
with injection i get this for graphic id: 0x0f0b
is this right ?
with injection i get this for graphic id: 0x0f0b
is this right ?
Code: Select all
sub TotalRefresh()
var horse = uo.objatlayer("horse");
if not horse == "0x0000000" then
uo.useobject("self")
wait(500)
endif
UO.Exec("usetype 0x0f0b") ; Total Refresh
wait(500)
if not horse == "0x0000000" then
uo.useobject(horse)
endif
endsub