Code: Select all
#include auto_${Me.Class.ShortName}.incModerator: MacroQuest Developers
Code: Select all
#include auto_${Me.Class.ShortName}.inc
dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

I dont actually have eq installed to check but i think you can create a global variable in your autoexec.cfgn00bhaxor wrote: ↑Fri Dec 22, 2017 8:36 pmI need to do a call to pull certain include files but noticed I can't. Wanted to think of a workaround
Short of relaunching in a new mac file (which is ugly) I am trying to think of a good way of doing this. The idea is to consolidate a bunch of class macros into one without the bloat of loading routines for every class.Code: Select all
#include auto_${Me.Class.ShortName}.inc


Oh.. right. lulz.Chatwiththisname wrote: ↑Tue Jan 02, 2018 10:39 pmAs per bot40.mac (PeteSampras originally bot.mac) he uses a #define for his INI
#define MyIni Bot_${Me.CleanName}_${MacroQuest.Server}_${Me.Class}.ini
Try doing that with the include then
#define MyInc Auto_${Me.Class}.inc
#include MyInc
This is perfect thank you!Chatwiththisname wrote: ↑Tue Jan 02, 2018 10:39 pmAs per bot40.mac (PeteSampras originally bot.mac) he uses a #define for his INI
#define MyIni Bot_${Me.CleanName}_${MacroQuest.Server}_${Me.Class}.ini
Try doing that with the include then
#define MyInc Auto_${Me.Class}.inc
#include MyInc

