Universal Tradeskill (for use with newer Tradeskill windows)

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

maven
decaying skeleton
decaying skeleton
Posts: 1
Joined: Fri Oct 22, 2004 7:41 am

Universal Tradeskill (for use with newer Tradeskill windows)

Post by maven » Fri Oct 22, 2004 7:56 am

I took from another post from [blueninja] and modified the code to be a lil more simpler in nature. Testing of the macro made worlds of difference on any combine you -_-ALREADY-_- know the recipie for. The code auto-combines whatever recipie you have highlighted, and then automatically places the combine in your inventory. I'm sure someone could add tweaks and mods to it to suit their own ends but I thought something simple to prevent carpel tunnels would suffice. Grok, modify, etc at your whim.

Original post from [blueninja]:

http://www.macroquest2.com/phpBB2/viewtopic.php?t=9664


unitrade.mac

Sub Main
:endlessloop
/if (${Window[TradeSkillWnd].Open}) {
/delay 1
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
:clearmore
/if (${Cursor.ID}) {
/autoinv
/delay 1
/goto :clearmore
}
}
/goto :endlessloop
/return

User avatar
Dentist
*insert drilling noises here*
Posts: 52
Joined: Mon Jan 26, 2004 2:48 pm

Post by Dentist » Fri Oct 22, 2004 2:28 pm

Code: Select all

unitrade.mac

Sub Main
:endlessloop
/if (${Window[TradeSkillWnd].Open}) {
/delay 1
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
:clearmore
/if (${Cursor.ID}) {
/autoinv
/delay 1
/goto :clearmore
}
}
/goto :endlessloop
/return
Code brackets are your friend
<Oid> http://buttox.ytmnd.com/
<Oid> http://picard.ytmnd.com/
<Dentist> OMG!!!! oid you shit head, dont ever do that again or i will hunt you down. that shit is horrible i need to go kill some kittens or soemthin

Rhysel
orc pawn
orc pawn
Posts: 11
Joined: Wed Oct 06, 2004 11:04 am

Post by Rhysel » Tue Oct 26, 2004 5:39 am

I only add an event that end's macro when i miss some item for the combine....


Very usefull for brewing :)

TheWarden
a hill giant
a hill giant
Posts: 253
Joined: Sat Dec 27, 2003 3:51 pm
Location: In your bushes...

Post by TheWarden » Tue Oct 26, 2004 9:14 am

[img]http://img.photobucket.com/albums/v629/Deevious/SigPics/KristinKreukSig01.jpg[/img]