Problems with the 'Fish.mac' macro

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

Nipper
decaying skeleton
decaying skeleton
Posts: 5
Joined: Mon Sep 02, 2002 11:23 pm

Problems with the 'Fish.mac' macro

Post by Nipper » Mon Sep 02, 2002 11:28 pm

Macro works fine til I catch something....then I get a syntax error:

Usage: Click <left/Right> <MouseLoc>

I think the problem stems from these lines:

/if "$cursor(name)"~~"scales" /click left destroy
/if "$cursor(name)"~~"Tattered cloth" /click left destroy
/if "$cursor(name)"~~"rusty" /click left destroy

I'm using the NewUI and running EQW by the way.

Any suggestions? I'm a complete newbie to all this stuff.

User avatar
Imperfect
Macro Author
Macro Author
Posts: 319
Joined: Fri Jun 14, 2002 1:52 am

Post by Imperfect » Mon Sep 02, 2002 11:33 pm

MQ doesn't support click in the newUI just yet... Use OLD ui

Kaidwen
a lesser mummy
a lesser mummy
Posts: 39
Joined: Tue Sep 03, 2002 11:06 pm
Location: ID

RE: Fish Macro

Post by Kaidwen » Tue Sep 03, 2002 11:11 pm

Also, and this is the only dam thing I know after 4 days of constant reading I still can't figure out hot to write a macro to even make me sit let alone some of the uber shit you guys pull off but I was able to do this from my "curiosity killed the cat" type of attitude....anyways what you need to do, when you catch something it just brings up a box "Yes or No" wanting to destroy. Well, what you need to do is after:

/if "$cursor(name)"~~"scales" /click left destroy
/if "$cursor(name)"~~"Tattered cloth" /click left destroy
/if "$cursor(name)"~~"rusty" /click left destroy

you need to type in "yes" after each so it should look like this when you are done~

/if "$cursor(name)"~~"scales" /click left destroy yes
/if "$cursor(name)"~~"Tattered cloth" /click left destroy yes
/if "$cursor(name)"~~"rusty" /click left destroy yes

That probably isn't the right way to do it but that is the way I figured it out w/out to much of a problem.
~Thumper[list][i]"EQ is life, the rest is just details"[/i][/list]

User avatar
Imperfect
Macro Author
Macro Author
Posts: 319
Joined: Fri Jun 14, 2002 1:52 am

Post by Imperfect » Tue Sep 03, 2002 11:16 pm

Turn off confirm to destroy and your problem goes away ;)

Kaidwen
a lesser mummy
a lesser mummy
Posts: 39
Joined: Tue Sep 03, 2002 11:06 pm
Location: ID

Post by Kaidwen » Tue Sep 03, 2002 11:34 pm

Duh, I knew that....I just like to do things the hard way, I guess lol
~Thumper[list][i]"EQ is life, the rest is just details"[/i][/list]

User avatar
Imperfect
Macro Author
Macro Author
Posts: 319
Joined: Fri Jun 14, 2002 1:52 am

Post by Imperfect » Wed Sep 04, 2002 12:14 am

when it comes up you could echo the screen loc using the following

Code: Select all


	$mouse(xxx)
		Returns mouse coords.
		xxx can be: x, y

/echo $mouse(x)
/echo $mouse(y)
not tested but, it should work ok