putting container back in original location

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
plapeyre
Posts: 5
Joined: 2004-05-18 19:53:59

putting container back in original location

Post by plapeyre »

i've got a working macro to steal items (not all that hard :P) but i was wondering, how you would incorporate code to put the stollen items back?

like i have a pack llama (to get my stealing up).. when i steal it.. i wanna put it back in the pack i got it from...
no sig
WeedDevil
Posts: 32
Joined: 2004-04-06 12:13:49

Post by WeedDevil »

,setreceivingcontainer lamapack
or
,setcatchbag lamapack
Lord Ruslan Nightmare
Expert!
Posts: 359
Joined: 2004-04-25 11:11:07
Contact:

Post by Lord Ruslan Nightmare »

Too easy
I think, it's better to remember stelaed item's container (uo.containerof()) before steal it, and it's coordinats in that container (uo.getx(), uo.gety(), uo.getz()). So, after you steal it, you can put it back with one uo.moveitem() command
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
plapeyre
Posts: 5
Joined: 2004-05-18 19:53:59

Post by plapeyre »

a quick coding example?
no sig
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Re: putting container back in original location

Post by Yoko »

plapeyre wrote:i've got a working macro to steal items (not all that hard :P) but i was wondering, how you would incorporate code to put the stollen items back?

like i have a pack llama (to get my stealing up).. when i steal it.. i wanna put it back in the pack i got it from...


moveitem ITEMID -1 LLAMAID
Post Reply