Moderator: MacroQuest Developers




Code: Select all
Sub StartMain
| Show MQ2 Error on Start sequence
/if (${MacroQuest.Error.NotEqual[NULL]}) {
/bcaa //docommand /${echo} ${Cr}Last MQ2 error${Cx}: ${MacroQuest.Error} - [ PC:${Ct}${Me.CleanName}${Cx} ]
}
/squelch /docommand /macro main.mac
/returnCode: Select all
Sub Main
/echo Started Simple Mac
/docommand /macro bigmacro.mac
/echo Ending Simple Mac
/returnbut no error messages nothing.Started Simple Mac
The current macro has ended
The current macro has ended
So it makes sense that Ending Simple Mac is not seen./macro filename [ Param0 [ Param1...]]
Starts running a macro. Calling a macro from another macro will end the calling macro.
Code: Select all
/docommand /macro /bigmacro.macCode: Select all
/keypress =This should have been:Voland wrote:Code: Select all
/docommand /macro /bigmacro.mac
Code: Select all
/macro /bigmacro.mac