ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Misc. Scripts => Topic started by: Grandewd on December 11, 2012, 03:08:54 PM

Title: Move EVERYTHING from one container to another
Post by: Grandewd on December 11, 2012, 03:08:54 PM
Hi all,

I've used EUO scripts and a few SUO ones for many years now, and must say that I've learned so much about scripting both here and at EasyUO.com.  I am also the first to admit that scripting doesn't come "easy" for me, but I do keep trying to get better at it.  So here's my first contribution here... (It's also on EUO, but wanted to share it here too).

There are times when you want to quickly and easily move EVERYTHING from one place to another, and I couldn't find a script here for that specific purpose - so I made one. There have been times when I wanted to do something like save a char's backpack into a container so I don't lose track of what he/she has with certain skill combinations. Or when I just want to move a bunch of stuff from one container to another. This little script will do just that - give it a try.....
P.S. I use the name Grindy on EUO, which explains the name.

** EDIT **
V1.1 fixes cosmetic issue, enhances button operation... Thx to EN for getting me off my lazy butt and make it look better with slightly improved functionally.
Title: Re: Move EVERYTHING from one container to another
Post by: NObama on December 11, 2012, 05:15:37 PM
Thanks very much for your contribution.  I have frequently found myself in need of this functionality.  In fact, I've set up a set of mannequins with a backpack locked down at their feet to do exactly this.

For future functionality, perhaps you might consider an option to remove everything your character is wearing and place it on a mannequin.

Cheers!
Title: Re: Move EVERYTHING from one container to another
Post by: Ultima on December 11, 2012, 06:44:16 PM
Thanks for the Submission. This type of script can come in real handy when crafting.
Title: Re: Move EVERYTHING from one container to another
Post by: Grandewd on December 12, 2012, 08:14:58 PM
....... For future functionality, perhaps you might consider an option to remove everything your character is wearing and place it on a mannequin...

You are aware that that's a single/click option on the Mannequin already, right?
Title: Re: Move EVERYTHING from one container to another
Post by: Grandewd on December 12, 2012, 08:19:25 PM
Thanks for the Submission. This type of script can come in real handy when crafting.

Thx Ultima.... Yea, exactly... For those containers that you've already coded ID's into a dozen misc. scripts (and don't want to change them all for sure), this let's you empty them quickly into another container... You know, when you realize that you just can't unlock the chest and take it.... I've just found LOTS of times when I need to move EVERYTHING in one box to another (for various reasons) - so I finally just said "This is crazy... Stop being so lazy and just write a nice little script to do it".... so I did..."

Thx for seeing the use...
Title: Re: Move EVERYTHING from one container to another
Post by: Endless Night on October 08, 2013, 08:39:22 AM
Congratulations your Script has been moved to Script library
(If you feel the script is in the wrong section please send me a pm.)

Thank you for your submission.



Couple of notes...
(1) Make the start and stop buttons the same size as you can see the button behind as one is bigger than the other.

(2) After selecting stop - you should re-enable the press to start button.

(3) after everything is moved - you should re-enable the press to start button

Great script.
Title: Re: Move EVERYTHING from one container to another
Post by: Grandewd on October 08, 2013, 06:31:54 PM
Congratulations your Script has been moved to Script library
(If you feel the script is in the wrong section please send me a pm.)

Thank you for your submission.



Couple of notes...
(1) Make the start and stop buttons the same size as you can see the button behind as one is bigger than the other.

(2) After selecting stop - you should re-enable the press to start button.

(3) after everything is moved - you should re-enable the press to start button

Great script.

Yea, I found those things annoying too... So thx for getting me off my butt to fix them...
Updated OP and added new version with your suggestions - with one exception.  Your #3 above:  after everything is moved, the job is done and I didn't update the button intentionally. After all, after everything has been moved - the script has accomplished it's mission.  There won't be anything else in the "user-set Out of" container, so until new containers are chosen there is nothing to do. When a new container is chosen to move all out of, the button changes accordingly...  Check it out, EN...
Title: Re: Move EVERYTHING from one container to another
Post by: Crisis on March 21, 2015, 08:01:43 AM
Great script! I loved that it was quick and easy. I have scripts that will do similar things but I did not feel like editing anything so this was awesome!