Open Xanadu16 opened 11 years ago
use uinames, not slot numbers for the / command.
I object to this method. If Im trying to swap SuperItemLongNameOhMyGodThisNameWillNeverEndPill with my AK47, theres not going to be enough time to type all that in. The client facilitates it, but if one doesnt have a client, I'd still like it to be simplified.
Find a way to associate slot numbers with the item datablocks.
"Find a way to associate slot numbers with the item datablocks."
What? This is default functionality iirc. Maybe just allow both uiname or slot number, that would simplify things.
By default, when you start out, your backpack is empty.
Example: /swapitems 1 3 1] Check if both "slots" are empty --Yes?: Return "Both are empty you dimwit." or as a client message box if possible. 2] Check if listed Backpack is occupied --Yes?: store in backpacktemporary, clear backpack slot 3] Check if onhand slot is occupied --Yes?: Store onhand item as a backpack item (for said backpack slot), clear item from slot --Move item from backpack temporary to listed item slot, clear temporary slot.
3 items on hand, 3 item slots for backpack.
/swapitems 1 1 switches 1st slot on hand with 1st slot backpack.
On client GUI, must fetch icons and display them on the GUI.