Page 1 of 1

Everything is running, but can't tell if macro is running

Posted: Sun Jan 20, 2008 11:58 am
by splatter
Hello,

My edited wiki page - http://www.macroquest2.com/wiki/index.php/Help_Macros - Added a note on making your macro echo a response when it's turned on. Needs a review.

Made it pretty far with the setup with MQ2. Compiled and running well. Can definetly tell it's running because NPC names are colored differently when MQ2 is running.

But, unable to retrieve a macro list from /listmacros. Even with /filter macros all , there is no response. and of course the INI file is poitning to the proper directory.

The issue above is not allowing a test run of the macro: botkill.mac

Here is the code for the macro:

Code: Select all


/echo macro ready
#event GotTell "Splatter tells you, 'kill'"
#event GotTell2 "Splatter tells you, 'follow'"
Sub Main
	Sub Event_GotTell
		/target Splatter
		/assist
		/attack on
		/cast 1
	/return
	Sub Event_GotTell2
		/target Splatter
		/follow
	/return

Thanks for the help in advance for any troubleshooting ideas you have and a review of the above macro. :smile:

Posted: Sun Jan 20, 2008 12:45 pm
by nytemyst
Read the manual on the /doevents command. Also check out some of the other macros on their formats. Mainly what goes in between Sub main and /return

Posted: Sun Jan 20, 2008 12:49 pm
by zosha
I just use

Code: Select all

Macro=3,415,78,255,255,255,Macro Running: ${Macro.Name}
in my MQ2Hud.ini to let me see which, if any, macro is running. You should check into using a HUD. They can display lots of useful info such as named spawns, GM's that aren't hiding, money in bank, last tells, the list is long....

Posted: Sun Jan 20, 2008 7:44 pm
by splatter
Thanks, you two. Confused a bit, but progress is eminent! Learning about Huds now.

meanwhile, reduced this macro in effort to simplify:


#event GotTell "Splatter tells you, 'kill'"
Sub Main
Sub Event_GotTell
/reply ok
/return

not working yet, but this is fun figuring this out, and enjoying the way the wiki is handled. Very proactive approach.

Re: Everything is running, but can't tell if macro is running

Posted: Sat Aug 23, 2025 10:35 pm
by xyilla

Re: Everything is running, but can't tell if macro is running

Posted: Sat Aug 23, 2025 10:37 pm
by xyilla

Re: Everything is running, but can't tell if macro is running

Posted: Sat Aug 23, 2025 10:38 pm
by xyilla

Re: Everything is running, but can't tell if macro is running

Posted: Sat Aug 23, 2025 10:39 pm
by xyilla