• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
  • There is a suspension/ban wave happening, we're still gathering information. Please keep regular discussion to Suspension MegaThread and please consider submitting a Suspension report to RG.
Resource icon

Unmaintained MQ2IniX

Other Authors
htw
Included in Very Vanilla
Very Vanilla Included! No need to download.
Server Type
🏢 Live 🏘️ Emu TLP Test
Command -> /inix FileName Section Key Value

Writes Key=Value to [Section] of FileName. If Value is not provided, the Key is deleted. If Key is not provided, the Section is deleted. All ^ characters provided in the parameters are replaced with $ characters.

testinix.mac
INI:
Sub Grimoire(string find, sting lookfor)
    /declare i int local
    /for i 1 to ${lookfor.Count[|]}
         /varset ${find} ${lookfor.Arg[${i},|]}
         /if (${Me.Book[${${find}}]} && ${Me.Level} >= ${Spell[${find}].Level}) /return
    /next i
/return

Sub Main
    /declare MyINI string outer "..\${MacroQuest.Server}_${Me.CleanName}.ini"
    /declare SetSP string outer
    /call Grimoire SetSP "|Yaulp XI Rk. II|Yaulp X|Yaulp IX|Yaulp VIII|Yaulp VII|"
    /inix ${MyINI} MQ2Melee downshit0 "/if (^{Me.Buff[${SetSP}].Duration} < 10000 && ^{Cast.Ready[${Spell[${SetSP}].ID}|gem]} && !^{Me.Mount.ID}) /casting ${Spell[${SetSP}].ID}|gem"
    /inix ${MyINI} MQ2Melee holyshit0 "/if (^{Me.Buff[${SetSP}].Duration} < 10000 && ^{Cast.Ready[${Spell[${SetSP}].ID}|gem]} && !^{Me.Mount.ID}) /casting ${Spell[${SetSP}].ID}|gem"
    /inix ${MyINI} MQ2Melee downflag0 1
    /inix ${MyINI} MQ2Melee holyflag0 1
    /melee load
/return

In that example macro, i scan spellbook for different version of yaulp spells and return first one found... then save downshit/holyshit to cast the spells if duration is less then 10 seconds and if the spells is ready to cast. I know yaulp is already supported into mq2melee ... this is just an example and a proof of the concept. all variables starting with a $ are parsed right away. Command will replace the ^ with $ enabling save data without evaluating it before... This open a door for macro to auto-configure some plugins behaviour, thanks for htw for his hard works coding this at my request a few years ago. I made a personal macro that setup all classes holyshits/downshits from command line like that... :)
Author
s0rcier
First release
Last update
Rating
0.00 star(s) 0 ratings

Share this resource

Back
Top