Yoko
http://forum.yoko.com.ua/

Hotkey command help version 505.18
http://forum.yoko.com.ua/viewtopic.php?f=3&t=13608
Page 1 of 1

Author:  yokouser [ 2008-05-22 09:10:46 ]
Post subject:  Hotkey command help version 505.18

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:

Author:  yokouser [ 2008-05-22 09:47:32 ]
Post subject: 

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?

Author:  Purgen [ 2008-05-22 10:27:05 ]
Post subject: 

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

Author:  yokouser [ 2008-05-22 11:55:40 ]
Post subject: 

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?

Author:  Infectous [ 2008-05-22 12:14:38 ]
Post subject: 

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/