Ask for help
Moderators: Murderator+ , Murderator
yokouser
Posts: 4 Joined: 2008-05-22 09:01:04
Post
by yokouser » 2008-05-22 09:10:46
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
yokouser
Posts: 4 Joined: 2008-05-22 09:01:04
Post
by yokouser » 2008-05-22 09:47:32
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?
Purgen
Posts: 187 Joined: 2005-04-04 18:23:12
Post
by Purgen » 2008-05-22 10:27:05
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
yokouser
Posts: 4 Joined: 2008-05-22 09:01:04
Post
by yokouser » 2008-05-22 11:55:40
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?
Infectous
Posts: 55 Joined: 2004-07-29 16:29:52
Post
by Infectous » 2008-05-22 12:14:38
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')