(01-20-2017, 12:31 AM)FelixZN Wrote: just tried the macro and so far its excellent !!!!!!!!!!! just a note, it wont stack looted small stones to the ones already being used.
What do you mean?
Oh right, equipping with hotkey, wont do it..., that's why I told to test the first version first, if it won't drop weapon in goblin, it would be fine to use
one last version, it shuld be good and safe, just remember to setup your ID on SwordID
[macro]400 {StoneSword} Fstone:=118 Fsword:=119 StoneID:=1781 SwordID:=3319 StoneUse:=20 StoneQT:=Misc.ItemCountEx(!StoneID!) StoneHandQT:=Self.Inventory.LeftHand.Count() leftH:=Self.Inventory.LeftHand() !StoneQT!>=!StoneUse! [ON] !leftH!<>!StoneID! [a1] Tibia.SendKey(!Fstone!) exit() {a1} !StoneQT!>!StoneHandQT! [b1] Self.Equip.LeftHand(!StoneID!) exit() {b1} exit() {ON} !leftH!<>!StoneID! [a2] !leftH!==0 [b2] Tibia.SendKey(!Fsword!) exit() {b2} !leftH!<>!SwordID! [c1] Tibia.SendKey(!Fsword!) exit() {c1} exit() {a2} Label(a1) exit()[/macro]
Changed, If there ARE already stones in hand, it will equip any extra looted normally, with Self.Equip.LeftHand.
The only way it would lose weapon, was if it put stones directly ON weapon that is in hand,
since, it will use Self.Equip.LeftHand only when stones already in hand, that won't happen.