Frosting.mac

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

Moderator: MacroQuest Developers

TetsuoAkira
orc pawn
orc pawn
Posts: 28
Joined: Tue Jul 09, 2002 10:06 pm

Frosting.mac

Post by TetsuoAkira » Wed Jul 10, 2002 10:55 am

I think... I HOPE I got this to work... (This is my first .mac file, even though I just fixxed it.)

Code: Select all

| - fishrolls.mac - 

#include routines.mac 

Sub Main 

  /itemtarget Oven 
   /face item 
   /click left item 


   :MakeFishRolls
   /sendkey down ctrl 
    
      /finditem "Fresh Fish" 
      /if $find()==FALSE /goto :Done 
      /click left enviro 0 

      /finditem "Bat Wing" 
      /if $find()==FALSE /goto :Done 
      /click left enviro 1 

      /sendkey up ctrl 
      /click left enviro combine 

      /if "$cursor()"=="TRUE" /goto :AutoDropRolls 
      /for v1 1 to 5 
         /delay 2 
         /if "$cursor()"=="TRUE" /goto :AutoDropRolls 
      /next v1 

   /goto :MakeFishRolls

   :AutoDropRolls 
      /click left auto 
   /goto :MakeFishRolls 

   :Done 
    /sendkey up ctrl 

    /click left enviro done 

/if $gm==TRUE /call Crap 

Sub Crap 
  /cleanup 
  /echo GM in zone... /camping 
  /sit 
  /reply Sorry, camping, can't talk now. 
  /delay 20 
  /camp 
  /unload 
/return 

/return
Last edited by TetsuoAkira on Wed Jul 10, 2002 4:47 pm, edited 1 time in total.

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

Post by L124RD » Wed Jul 10, 2002 1:21 pm

Salutations,
If you use events for telling you wether or not you failed, you will have a lot less chance of your macro going out on you.

TetsuoAkira
orc pawn
orc pawn
Posts: 28
Joined: Tue Jul 09, 2002 10:06 pm

Post by TetsuoAkira » Wed Jul 10, 2002 4:47 pm

I just used this and now its trivial 8)
Used it for about ... 20minutes with 6 bags of batwings and 6bags of fish