problem with my buy.mac
Posted: Wed Jun 23, 2004 11:54 am
Ok basically ive got a buy.mac im using and having problems after it runs a few times.. it will occasionally buy 20 stacks of item XX instead of buying 20 individual items of x. I've tried quite a bit to fix this and im lost im postive i need some sort of a check to see what im buying or something. When it works it buys from the correct slots, an example would be like x = slot 1 xxx= slot 3 and so it buys 20 individual items in slot 1 and a stack of 20 of the stackable items in slot 3, and in this case it would be working correctly whereas after running a few times it will almost swap what i asked, having bought 20 stacks of the slot 3 items and 1 slot 1 item... it is quite odd to say the least and i am at a total loss why it is doing this. I also know/realize that you must have the merchant window/packs and everything open for this to work and that def isn't the problem.
Thank You
}
Thank You
Code: Select all
Sub Main
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack x
/delay .2s
/call BuyStack xx
/delay .2s
/return
Sub BuyStack(int SlotNumber)
/itemnotify Merchant${SlotNumber} leftmouseup
/delay 1s
/buyitem 20
/delay 1s
/return