Moderator: MacroQuest Developers


Sometimes, some of the rest of us learn a thing or 2 when he's bugging everyone too. lol. Doesn't hurt a thing, and when someone puts forth the effort to try first, I think most people are happy to help if they can.aChallenged1 wrote:Look at my name, I am not a great coder. I learn my trial and error and bugging the hell out of people who know more than I do, but I do it by attempting something and then asking for their help when it doesn't work.
Try it.
Code: Select all
|Trader.mac ... sell this weird summon item.. By xantan/xantan2
#turbo
Sub Main
/echo Ok, here we go, be in bazaar at a trader spot, i assume the thing you summon is a spell, and its in slot 1.
:loop
/trader mode off
/delay 50
/if (${Me.PctMana} < 20) /goto :rar
/delay 1
/cast 1
/delay 160
/trader mode on
/goto :wait
:rar
/if (${Me.Standing} && !${Me.Mount.ID}) /sit down
/delay 180
/goto :loop
:wait
/echo Ok, your all setup, trader mode on and its summoned, i dont know how to check if its sold, so, in 500 seconds its just gonna summon a new one!
/delay 5000
/goto :loop
Code: Select all
Sub Main
:Loop
/if (${FindItemCount[=Summoned: Burning Shank]}<1) {
/call New_Shank
/trader mode on
}
/delay 10s
/goto :Loop
/return
Sub New_Shank
/trader mode off
/delay 5s
/cast 1
/delay 10s
/beep
/echo Weee...sold my Shank & summoned a new one
/autoinv
/return