Conjuration Macro: conjur.mac

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

User avatar
gse7en
a hill giant
a hill giant
Posts: 262
Joined: Mon Oct 17, 2005 8:19 pm
Contact:

Conjuration Macro: conjur.mac

Post by gse7en » Mon Apr 10, 2006 7:11 pm

You need summon bread for this to work. Will practice conjuration until you target something. Have fun.

Code: Select all

|** conjur.mac
    Special thanks to all the VIP's who helped me make this script a success.

    Puts summon: food or drink in first slot, chain casts that spell, destroying 
    any food that is successfully conjured, and auto meds when OOM.  
    Target something to end macro.**|


#event SpellFizzle "Your spell fizzles!"
#event OOM "You have insufficent mana"

Sub Main

/declare fizz int outer
/memspell 1 "Summon Food"  |Change this part here as needed|
/target clear

:cast
    /if (${Target.ID}) /goto :end
  /varset fizz 0
  /cast 1
  /delay 1s
  /doevents
   /if (${fizz}) /goto :cast
  /delay 6s
   /if (${Cursor.Name.Equal[Summoned: Black Bread]}) /destroy 
  /goto :cast

:end
/endmacro
/return


|||If your spell fizzles, try, try again|||

Sub Event_SpellFizzle
  /varset fizz 1
   /if (${Target.ID}) /endmacro
/return


|||If you're OOM, then you should med, fucking nooblet|||


Sub Event_OOM
  /sit
  /delay 1m (${Me.PctMana} == 100) 
/return 

matter68
a lesser mummy
a lesser mummy
Posts: 45
Joined: Tue Apr 04, 2006 6:37 pm

Post by matter68 » Wed Apr 12, 2006 4:12 pm

works well thanks :D










xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Conjuration Macro: conjur.mac

Post by xyilla » Fri Jan 09, 2026 12:47 pm