Page 1 of 1
Hotkey command help version 505.18
Posted: 2008-05-22 09:10:46
by yokouser
I play on a sphere server version .51a. and the server i play on uses 2 types of scrolls for PVP, XUO and NOS scrolls.
my problem is that they are the same graphic and color so i cannot make a separate macro for each scroll. Is there a way i can use the item id of the scroll for a hot key command? i am running yoko 505.18 any help would be much appreciated.
will 
Posted: 2008-05-22 09:47:32
by yokouser
This is my script but it wont work for some reason.
sub scroll_xuo_last()
uo.exec("waittargetlast")
uo.exec("useid 0x4001ADF6")
end sub
something wrong with that?
Posted: 2008-05-22 10:27:05
by Purgen
You must use TYPE of scroll, not ID
sub scroll_xuo_last()
uo.exec("waittargetlast")
uo.findtype ('type of scroll', -1, 'backpack')
uo.useobject ('finditem')
end sub
Posted: 2008-05-22 11:55:40
by yokouser
thats the thing man the types are the same for both types of scrolls.
sub scroll_nos_last()
uo.exec("waittargetlast")
uo.exec("usetype 0x1F5F")
end sub
sub scroll_xuo_last()
uo.exec("waittargetlast")
uo.exec("usetype 0x1F5F")
end sub
anyway to get around this?
Posted: 2008-05-22 12:14:38
by Infectous
yes
2 containers, grab a couple pouches & put one if each in either
uo.findtype ('type of scroll', -1, 'container1')
uo.findtype ('type of scroll', -1, 'container2')