Scripting Resources & Utilities > Orion UO Client
MoveItemType
altiric:
If it helps, this is one i wrote for a friend to do the same thing.
--- Quote ---function moveEggsToContainer(){
var eggTypes = '0x9F13|0x9F14|0x9F15|0x9F16|0x9F17|0x9F18';
Orion.CharPrint(self, 0x43, "Select new Egg Container");
Orion.WaitForAddObject('eggContainer');
Orion.FindType(eggTypes, any, backpack).forEach(function(egg){
Orion.MoveItem(egg, 0, 'eggContainer');
Orion.Wait('moveitemdelay');
});
Orion.CharPrint(self, 0x43, "Move Complete");
}
--- End quote ---
The Ghost:
nice, All this make sense, Let see if I can use it.
not a plug and play.
Got an error, referenceerror Can't find variable: moveitem
Let see if I can use that nice function and make it work :0
altiric:
yeah... just throw an Orion. infront of MoveItem lol sorry...
The Ghost:
How did I miss that, Thx,
This little function is a great example. I can really see the similarity of a sub here.
Black Widow:
Thanks for the awesome input @The Ghost and @Altric
Navigation
[0] Message Index
[*] Previous page
Go to full version