Page 1 of 1

putting container back in original location

Posted: 2004-05-19 04:37:22
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...

Posted: 2004-05-19 13:40:57
by WeedDevil
,setreceivingcontainer lamapack
or
,setcatchbag lamapack

Posted: 2004-05-19 14:17:22
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

Posted: 2004-05-19 14:57:56
by plapeyre
a quick coding example?

Re: putting container back in original location

Posted: 2004-05-19 21:31:19
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