PDA

View Full Version : Transfer X to Y script?



Arkanax
08-24-2015, 05:49 AM
There any scripts that allow you to transfer a group of items from one container to another? Say I have a backpack with a bunch of gems I want to move to a sack. Anything I could use to just do like ;xfer gems backpack to large sack?

RaceCondition
08-24-2015, 10:14 AM
I use these aliases:

moven => ;eq vars=%w(\?); GameObj[vars[1]].contents.each {|item| if item.name =~ /#{vars[0]}/;fput "_drag ##{item.id} ##{GameObj[vars[2]].id}";end}

movet => ;eq vars=%w(\?); GameObj[vars[1]].contents.each {|item| if item.type =~ /#{vars[0]}/;fput "_drag ##{item.id} ##{GameObj[vars[2]].id}";end}

Arkanax
08-24-2015, 05:33 PM
Could you give an example of how this works, I'm not very alias savvy.

RaceCondition
08-24-2015, 06:45 PM
movet gem cloak backpack
moven bloodscrip cloak backpack

Arkanax
08-25-2015, 05:30 PM
Works great, thanks!