i want to make a script to use the trapped pouchs in my bag.
the problem is that if i use ,usetype pouch it use only one pouch, and the second time i use the macro, it use always the same pouch.. there's a way to use another pouch?
i thought to drop my last used object,but i don't know how can i do..
Thanks
drop?
Moderators: Murderator+, Murderator
-
- Expert!
- Posts: 359
- Joined: 2004-04-25 11:11:07
- Contact:
-
- Expert!
- Posts: 359
- Joined: 2004-04-25 11:11:07
- Contact:
uo.findtype("paste here pouch's type")
if you make uo.findtype("paste here pouch's type","-1","container's ID")
script will search pouch in this container.
You can also use something like
var pouch = uo.getserial("_LKF")
to obtain serial of pouch, what is in your backpack or in subcontainers of backpack
if you make uo.findtype("paste here pouch's type","-1","container's ID")
script will search pouch in this container.
You can also use something like
var pouch = uo.getserial("_LKF")
to obtain serial of pouch, what is in your backpack or in subcontainers of backpack
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
А без пруда не выловишь её и с трудом...