mouseto auto?

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

mouseto auto?

Post by nikeman » Sat Sep 14, 2002 5:42 pm

i am not sure if it just dont work in the new ui or what useage is /mouseto auto right?

keeps telling me all the differnt useages when it comes across that in code

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

Post by nikeman » Sat Sep 14, 2002 5:45 pm

also how do i find out my mouses location? i would like to try click left loc to

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

Post by nikeman » Sat Sep 14, 2002 5:56 pm

bacily this is what am trying to do

sub main
:loop
/doability 1
/mouseto auto
/click left auto(know the auto doest work here wish it did)
/delay 1000
/goto :loop
end main

User avatar
DeathSpiral
a ghoul
a ghoul
Posts: 95
Joined: Thu Aug 22, 2002 6:31 pm

Post by DeathSpiral » Sat Sep 14, 2002 6:10 pm

nikeman wrote:bacily this is what am trying to do

Code: Select all

sub main 
   :loop 
   /doability 1 
   /mouseto auto
   /click left auto(know the auto doest work here wish it did)
   /delay 1000 
   /goto :loop 
end main
Unless it was very recently broken, /click left auto has always worked for me in the oldUI. Based on what you are saying, it sounds like you are trying to possibly macro foraging. (Can't think of any other abilities that produce an item off the top of my head). EDIT: well, theres fishing, but I guess I'm confused about your listed 100s delay... So I really don't have any idea what ability you are playing with... If thats what you are trying to do, give this a shot:

Code: Select all

| - foraging.mac -
| Change the Define below to the actual Foraging ability name; 
| I don't know it.

#define ForaSkill Forage

sub Main
   /cleanup

   :Forage
      /if n $char(ability,"ForaSkill")<=0 {
         /doevents
         /goto :Forage
      }
      /doability "ForaSkill"
      /doevents
      /delay 2
      /if "$cursor()"=="TRUE"
         /click left auto
      /goto :Forage
/return
Pretty basic, but it should handle foraging. Again, doing this off the top of my head - untested and too lazy to open up the readme file to make sure I have the new /doability and $char(ability,xxx) in properly., You may want to add a delay in the check to see if the ability is up yet. *shrug*. Hope it helps.

-DS

PS - as a note, clicking and mouseto only works in the old UI, so...
I am orc pawn, hear me yell for centurians...

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

Post by nikeman » Sat Sep 14, 2002 11:00 pm

yep thats what i wanted thanks

User avatar
DeathSpiral
a ghoul
a ghoul
Posts: 95
Joined: Thu Aug 22, 2002 6:31 pm

Post by DeathSpiral » Sun Sep 15, 2002 1:03 am

nikeman wrote:yep thats what i wanted thanks
Glad I could be of help.
I am orc pawn, hear me yell for centurians...