• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

need macro help

linthaide

New member
Joined
Oct 26, 2007
RedCents
if someone could make a macro or ini for existing to recast spells for me on a set timer where all i need to do is insert spell name i will donate red cents and teach a new way to lvl while not even on the computer;)
 
Here you go ... untested ...

If you want it to work with MQ2Cast instead of spell_routines.inc let me know.

-Alatyami

Rich (BB code):
// SimpleCast.mac
// Author: Alatyami, NotAddicted.com

#include spell_routines.inc

Sub Main 
	// Declare the array to store the spell names
	/declare MySpellList[3] string outer
	
	// EDIT SPELL LIST HERE
	/varset MySpellList[1] Virtue 
	/varset MySpellList[2] Hand of Virtue 
	/varset MySpellList[3] Conviction 	
	
	// EDIT TIMER LENGTH HERE (seconds)
	/declare TimerLength	int outer 600

	// DO NOT EDIT BELOW HERE
:spellcastloop
	
	/for i 1 to ${MySpellList.Size}
		/call Cast "${MySpellList[${i}]}"
	/next i
	
	// have the macro sleep for the given amount of seconds.
	/sleep ${TimerLength}
	
	// Now that the sleep is done go back and start again.
	/goto :spellcastloop
	
/return
 
need step by step macro to load ...these spells
legacy of nettles
blessing of oak
flight of the eagles



Plz
 
Can just change the spells in that and set your timer for the shortest buff duration.

Curious what you were working on there

if someone could make a macro or ini for existing to recast spells for me on a set timer where all i need to do is insert spell name i will donate red cents and teach a new way to lvl while not even on the computer
 
save as a .inc file and add it to your #includes in the .mac file. You will need to add /call DeclareSetup somewhere in your declares. Then for the buffs simply /call BuffCheck

just made it, so if there are any bugs don't shoot me yet :)

SpellBuff = name
SpellBuffGem = gem# (need the word gem in there too!)
SpellBuffTimer = time in seconds buff will last

Rich (BB code):
//By Siddin for Redguides/NotAddicted


sub DeclareSetup
 
/declare SpellBuff[5] string outer
/declare SpellBuffGem[5] string outer
/declare SpellBuffTimer[5] int outer
 
/varset SpellBuff[1] SpellName1
/varset SpellBuffGem[1] Gem1
/varset SpellBuffTimer[1] 7200
 
/varset SpellBuff[2] SpellName2
/varset SpellBuffGem[2] Gem2
/varset SpellBuffTimer[2] 7200
 
/varset SpellBuff[3] SpellName3
/varset SpellBuffGem[3] Gem3
/varset SpellBuffTimer[3] 7200
 
/varset SpellBuff[4] SpellName4
/varset SpellBuffGem[4] Gem4
/varset SpellBuffTimer[4] 7200
 
/varset SpellBuff[5] SpellName5
/varset SpellBuffGem[5] Gem5
/varset SpellBuffTimer[5] 7200
 
/return
 
Sub BuffTimer(SpellNumber)
    /if (${Target.ID}!=${Me.ID}) {
        /if (!${Defined[MyCurrentTargetID]}) /declare MyCurrentTargetID int local ${Target.ID}
    /target clear
    /delay 1s !${Target.ID}
    /target id ${Me.ID}
    /delay 1s ${Target.ID}==${Me.ID}
    }
 
/delay 2
/call cast ${SpellBuff[${SpellNumber}]} ${SpellBuffGem[${SpellNumber]}
/if ( !${Defined[SpellBuff${SpellNumber}]} ) /declare SpellBuff${SpellNumber} timer outer ${SpellBuffTimer[${SpellNumber}]}s
 
    /if (${Defined[MyCurrentTargetID]}) {
    /target clear
    /delay 1s !${Target.ID}
    /target id ${MyCurrentTargetID}
    /delay 1s ${Target.ID}
    /deletevar MyCurrentTargetID
    } else {
              /target clear
              }
/return
 
 
sub BuffCheck
 
/if (!${SpellBuff1}) /call BuffTimer 1
/if (!${SpellBuff2}) /call BuffTimer 2
/if (!${SpellBuff3}) /call BuffTimer 3
/if (!${SpellBuff4}) /call BuffTimer 4
/if (!${SpellBuff5}) /call BuffTimer 5
 
/return
 
need macro help

Users who are viewing this thread

Back
Top
Cart