it's ok i found out how to do it, you just specify 0 for the type, for example:
sub main()
var item
UO.AddObject('container')
While UO.Targeting()
Wait(500)
Wend
UO.Findtype(0, 0, 'container')
item = UO.GetSerial('finditem')
UO.Print(item)
end sub
Search found 2 matches
- 2007-06-25 10:27:40
- Forum: Help
- Topic: Loop through all items in a container
- Replies: 2
- Views: 878
- 2007-06-25 06:42:55
- Forum: Help
- Topic: Loop through all items in a container
- Replies: 2
- Views: 878
Loop through all items in a container
Say i have a chest full of items of different types, is there a way i can loop through all items in the container? This would be useful if say i had lots of magic items, I could id each one without explicitly knowing the type. For lots of items that are the same type, this is easy with UO.FindType ...