First Post, First Macro: Re: tradeskill
Posted: Thu Jun 10, 2004 6:15 am
So i spent all of yesterday clicking the combine button and reloading items into the tradeskill
window, then i, when i regained feeling in my numb fingers and wrist, downloaded and complied
MQ2. and a few hours later, with no knowledge of scripting, I'm attempting to pump out my
first script. I know it's not in the nature of the forum to be generous to those who are new [and stupid/arrogant],
but im NOT looking for handouts, and I don't want anyone to write the scripts for me, but here
goes for the first one. Let me know what I', doing right or wrong here, trying to comment everything though, to make it easier for the readers.
(sitting with new tradeskillwindow open)
window, then i, when i regained feeling in my numb fingers and wrist, downloaded and complied
MQ2. and a few hours later, with no knowledge of scripting, I'm attempting to pump out my
first script. I know it's not in the nature of the forum to be generous to those who are new [and stupid/arrogant],
but im NOT looking for handouts, and I don't want anyone to write the scripts for me, but here
goes for the first one. Let me know what I', doing right or wrong here, trying to comment everything though, to make it easier for the readers.
(sitting with new tradeskillwindow open)
Code: Select all
|-----------|
|Tradeskils
|Test #1
|Jun/10/04
|5:45 AM
|-----------|
|
|
| Note: have Recepie selected
| In new tradeskill Window
| and adjsut LOC's for your window
| sorry, I can't do more advanced
| Scripts yet, so bear with me
|
|
|----------
| Broke it down into 3 subsections
| Sub Docombine moves mouse and clicks the 'combine button'
| Sub delaytimer is just a 5 second delay right now
| looked to robodawgs herobrew script for help with some info,
| not trying to steal his script, wanted to give him credit where it's due
| Sub DoAutoinv stashes everythign back in inventory
|
Sub Main
/call DoCombine
/delay 5
/call DelayTimer
/delay 5
/call DoAutoInv
/endmacro
Sub DoCombine
/click left 560,480
/return
Sub DelayTimer
/delay 45
/return
Sub DoAutoInv
:WaitCursor
/if (${Cursor.ID} ) /autoinv {
/goto :WaitCursor
} else /return