Yoko

All sides of Injection
It is currently 2025-12-28 18:11:39

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2004-05-19 04:37:22 
Offline

Joined: 2004-05-18 19:53:59
Posts: 5
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


Top
   
 Post subject:
PostPosted: 2004-05-19 13:40:57 
Offline

Joined: 2004-04-06 12:13:49
Posts: 32
,setreceivingcontainer lamapack
or
,setcatchbag lamapack


Top
   
 Post subject:
PostPosted: 2004-05-19 14:17:22 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
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

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject:
PostPosted: 2004-05-19 14:57:56 
Offline

Joined: 2004-05-18 19:53:59
Posts: 5
a quick coding example?

_________________
no sig


Top
   
PostPosted: 2004-05-19 21:31:19 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited