Goto page 1, 2, 3 ... 14, 15, 16  Next Public Macros The Low Level cleric macro that said it thinks it can
Reply
The Low Level cleric macro that said it thinks it can
Hear is just a starting place for a cleric macro....
Use it wisely and edit it and let it grow with you toon and as you learn how to write macros.

More +

#include Spell_routines.inc
#turbo 10
#chat group
#chat tell


|____________|
|   Events   |
|____________|
 
#event checkbuffs "#1# tells the group, 'check buffs'"
#event giveheal "#1# tells the group, 'plz heal'"
#event helpcommands "#1# tells the group, 'cleric help'"



|#event rezme "#1# tells the group, 'rez'"
|#event rezme "#1# tells you, 'rez'"
|#event evac     "#1# tells the group, 'EVAC'"



|_______________________________________________|


Sub Main

/declare DD1 string outer Strike
/declare B2 string outer Courage
/declare B1 string outer Holy Armor
/declare h1 string outer Minor Healing
/declare HealPct 60

/declare x int local

|/declare r1 string outer Reconstitution
|/declare B3 string outer Daring
|/declare h2 string outer Celestrial Remedy
|/declare g1 string outer Gate






:start
/if ((!${Me.Casting.ID}) && (${Me.State.Equal[STAND]}) & (${Me.PctMana}<98)) /sit
/doevents
/delay 10
/if (${Me.PctMana}>10) /goto :healloop
/goto :start



:healloop
  /if (${Group}<1) /goto :start
   /for x 0 to ${Group}
    /if (${Group.Member[${x}].Type.NotEqual[CORPSE]} && ${Group.Member[${x}].PctHPs}<${HealPct}) /call Heal ${Group.Member[${x}].CleanName}
|    /if (${Group.Member[${x}].Type.NotEqual[CORPSE]} && ${Group.Member[${x}].PctHPs}<75 && ${Group.Member[${x}].PctHPs}>70) /call Remedy ${Group.Member[${x}].CleanName}
    /if (${Group.Member[${x}].Pet.Name.NotEqual[NULL]} && ${Group.Member[${x}].Pet.PctHPs}<${HeaPct}) /call Heal ${Group.Member[${x}].Pet.CleanName}
   /next x
 /goto :nuke
 
:nuke
/assist Brel
/delay 1s
/if (${Target.PctHPs}<50 && ${Target.PctHPs}>35 && ${Target.Type.NotEqual[CORPSE]} && ${Target.Type.Equal["NPC"]} && ${Me.PctMana}>50) /call cast "${DD1}" gem1 3s
/goto :start
/return


|____________|
|  Healing   |
|____________|

Sub Heal(Targ)
/target ${Targ.Right[-2].Left[-1]}
/delay 1s
/if (${Target.ID}) /g ${h1} on %t
/if (${Target.Distance}>100) /g %t is out of range!
/if (${Target.Distance}<100) /call Cast "${h1}" gem8 4s
/return


|------------|
| Remedy     |
|------------|

|Sub Remedy(Targ)
|/target ${Targ.Right[-2].Left[-1]}
|/delay 1s
|/g ${h2} on  [ %t ]
|/call cast "${h2}" gem7 3s
|/return


|_____________|
| Buffs       |
|_____________|

Sub Event_checkbuffs(Line)
/declare z int local
  /if (${Group}<1) /return
   /for z 0 to ${Group}
   /if (${Group.Member[${z}].Type.NotEqual[CORPSE]}) /call Buffs ${Group.Member[${z}].CleanName}
/next z
/return

Sub Buffs(Targ)
/target ${Targ}
/delay 1s
/if (${Target.ID} && ${Select[${Target.Class.ShortName},SHD,PAL,RNG,BST,WAR,MNK,BER]}) {
/call Cast "${B2}" gem6 4s
/delay 3s
/call Cast "${B1}" gem7 4s
/delay 3s
}
/return


|___________________|
|       Rez         |
|___________________|

|Sub Event_rezme(Line,Targ)
|/target ${Targ.Right[-2].Left[-1]}
|/delay 1s
|/g Incoming 10% EXP rez on [ %t ]
|/call Cast "${r1}" gem3 12
|/if (${Macro.Return.Equal[CAST_SUCCESS]}) /goto :rezsuccess

|:rezsuccess
|/return




Sub Event_giveheal(Line,Targ)
/assist ${Targ.Right[-2].Left[-1]}
/delay 1s
/g Here ya go a heal just for [ %t ]
/call Cast "${h1}" gem8 3s
/if (${Macro.Return.Equal[CAST_SUCCESS]}) /return



|-------------|
|   gate out  |
|-------------|

|Sub Event_evac(line)
|/call cast "${g1}" gem2 3s
|/delay 7s
|/return




|_________________|
|  Help commands  |
|_________________|

Sub Event_helpcommands(Line)
|/g rez - I will rez you (I will breathe life into you)
|/delay 1s
/g plz Heal - I will heal you (Only because I care)
/delay 1s
/g check buffs - I will give you only what I can to make you better.
|/return



Yes this was taken from one of my earlier toons when I first started coding for macros. But this will give some a begining.
Mon May 28, 2012 7:32 pm
audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru
Sat Nov 01, 2025 3:33 am
audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkasultramaficrock.ruultraviolettesting.ru
Mon Dec 01, 2025 11:58 am
Sun Dec 07, 2025 9:44 pm
62
Sun Dec 07, 2025 9:45 pm
Sun Dec 07, 2025 9:46 pm
Sun Dec 07, 2025 9:47 pm
Sun Dec 07, 2025 9:49 pm
Sun Dec 07, 2025 9:50 pm
Sun Dec 07, 2025 9:51 pm
Sun Dec 07, 2025 9:52 pm
Sun Dec 07, 2025 9:53 pm
Sun Dec 07, 2025 9:54 pm
Goto page 1, 2, 3 ... 14, 15, 16  Next Public Macros The Low Level cleric macro that said it thinks it can
Reply