Use the worst healing potion you have. Please help me finish the list, and make a list for mana potions too
Code: Select all
/script UseItemByName("Simple First Aid Potion");
/script UseItemByName("Basic First Aid Potion");
With these 2, you don't need streamline addon to auto repair
When talking to NPC, this function brings up the screen where you can repair or buy.
Code: Select all
/script ChoiceOption(1);
Code: Select all
/script ClickRepairAllButton();
Okay then, lets see.. What else could you do while chatting with an NPC. Buy potions?
Well, first we need to make some space for them, if our inventory is full.
The number inside () is your bag slot. 1=first bag first slot.
Code: Select all
/script PickupBagItem(GetBagItemInfo(1));
/script DeleteCursorItem();
Then, we might want to buy some potions.
Code: Select all
/script StoreBuyItem(1)
Therefore, we can do this
Code: Select all
/script local bag, icon, name, count = GetBagItemInfo(1) for i=1, 10, 1 do if GetStoreSellItemInfo(i) == icon then for a=98, count, -1 do StoreBuyItem(i) end end end
Imagine what we could do if we could edit macros with mircomacro.