Hotkey command help version 505.18

Ask for help

Moderators: Murderator+, Murderator

Post Reply

dumb question?

yes
2
100%
no
0
No votes
 
Total votes: 2

yokouser
Posts: 4
Joined: 2008-05-22 09:01:04

Hotkey command help version 505.18

Post 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.


:twisted: will :twisted:
yokouser
Posts: 4
Joined: 2008-05-22 09:01:04

Post 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?
Purgen
Posts: 187
Joined: 2005-04-04 18:23:12

Post 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
yokouser
Posts: 4
Joined: 2008-05-22 09:01:04

Post 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?
Infectous
Posts: 55
Joined: 2004-07-29 16:29:52

Post 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')
Post Reply