/doability macro!

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

Iceassassin
a lesser mummy
a lesser mummy
Posts: 49
Joined: Tue Nov 05, 2002 11:40 am

/doability macro!

Post by Iceassassin » Sun Nov 24, 2002 8:44 pm

Here is my first full macro that I built... Very basic, but I am proud.

-----------------------------

Code: Select all

| - Waiting.mac - 
| - Written by Iceassassin -
| - Needs to be updated.

#event hit "hits YOU"

Sub Main
:loop
/doability 4
/doability 1
/doability 3
/doability 5
/doability 6
/delay 10
/goto :forage
/goto :loop
/return

Sub Forage
      :Forage
       /if n $char(ability,"Forage")>0 /doability Forage
      /delay 20
      /if "$cursor()"=="TRUE" /goto :AutoDrop
     /goto :loop
     /return

Sub Drop
       :AutoDrop 
       /click left auto      
       /goto :loop 
       /return

Sub hit
       /echo Ahhh!
       /return


:Done 
/sendkey up ctrl 
/click left enviro done 

/return 0
-----------------------------

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sun Nov 24, 2002 11:47 pm

Salutations,

Code: Select all

| - Waiting.mac - 
| - Written by Iceassassin -
| - Needs to be updated.

#event hit "hits YOU"

Sub Main
:loop
/doability 4
/doability 1
/doability 3
/doability 5
/doability 6
/delay 10
/call forage
/goto :loop
/return

Sub Forage
       /if n $char(ability,"Forage")>0 /doability Forage
      /delay 20
      /if "$cursor()"=="TRUE" /call Drop
     /return

Sub Drop
       /click left auto      
       /return

Sub hit
       /echo Ahhh!
       /return