• 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

Macro help plz (powerleveling macro)

Jumjum5

New member
Joined
Dec 18, 2004
RedCents
20¢
I am trying to make a macro for my 45 pally to heal my lvl 25 pally when he is at 70% then sit done. Dont know if i have this right or not...plz post and help.

/doevents
/target Slivan
/if ($target option == 70%)
/cast "Superior Healing"
/sit
 
Re: Macro help plz

I cannot test this but you can try it:

:Waiting
/doevents
/target Slivan
/if (${Target.PctHPs}<= 70) {
/cast "Superior Healing"
/sit
}
/delay 1s
/goto :Waiting
 
Re: Macro help plz

I tried it but it says Subroutine Main not found. Any idea what to do?
 
Re: Macro help plz

u forgot to add,
"sub main" to the top... it shoudl look like

sub main
/doevents blah
:blah
blah blahb alh
macros macros macros

but when i do plvls i use this intead from mq2 free forums:


* 7 custom Buff slots * Cut HPbuff and Sow commands replaced with 2 more custom slots.
* Heal to full command
* Auto Healing *NEW
* Give buff command *NEW
* Auto follow { No obstical avoidance atm }
* Camp command
* List buffs and Hp / Mana
* Ability to reset macro from Masters computer should need arise
* Tell forwarding
* Fizzleproof casting

Rich (BB code):
| Plassist.mac                     
|                                 
| syntax:                           
|   /macro Plassist <Masters Name>
| Example:
|   /macro Plassist Newbie
|
| Syntax for Buffs { just say into channel you have choosen }
| "Need Buff 1", "Need Buff 2" , Ect to cast buffs 1-7.
| "Need Heal" : to have bot heal master to full
| "Give Buff 1", "Give Buff 2", Ect to cast buffs 1-7 on masters target
|
| ------------------------------------------------------
| Syntax for misc stuff...
| "Camp Now" : to have bot camp and end the macro
| "Need Info" : to have bot display HP and Mana %,and current buff list.
| "Sit Now" : to have bot sit down
| "Reset mac" : to restart the macro
| "Follow me" : to have Bot follow you
| "Stop Follow" : to have Bot stop following you
|
|   Notes
|
| * Set healat and healto vars to change autoheal to your liking.
| * Must Include spellcast.inc
| * Bot MUST have your channel set as number 1, or it will not work.
| * Any tells sent to the Bot will be forwarded to the chat channel.
| * Must have MQ2MoveUtils for follow command to work
| * If you change the name of the macro you must edit the macname var
|    for the reset command to work.
|-------------------------------------------------------

#event Buffs "#*#Need Buff #1#"
#event Buffother "#*#Give Buff #1#"
#event Heal "#*#Need Heal#*#"
#event HPbuff "#*#Need HP buff#*#"
#event sow "#*#Need Sow#*#"
#event sit "#*#Sit down#*#"
#event camp "#*#Camp now#*#"
#event Info "#*#Need Info#*#"
#event reset "#*#Reset mac#*#"
#event Follow "#*#Follow me#*#"
#event Stop "#*#Stop Follow#*#"
#chat tell

#include spellcast.inc

Sub Main

/declare Master string Global
/declare Buff[7] string Global
/declare Healspell string Global
/declare macname string Global
/declare healat int Global
/declare healto int Global
/varset Master ${Param0}

|-----------------------
|Edit Name of Macro here if changed.
|-----------------------
/varset macname "Plassist.mac"
|----------------------
|Edit spells here ( Must have " " around spells )
|----------------------
/varset Buff[1] "Shield of Thistles"
/varset Buff[2] "Riftwind's Protection"
/varset Buff[3] "Skin like Steel"
/varset Buff[4] "Spirit of Wolf"
/varset Buff[5] "Strength of Earth"
/varset Buff[6]
/varset Buff[7]
/varset Healspell "Healing"

|----------------------
|Edit Autoheal here
|----------------------
|When to heal
/varset healat 50
|When to Stop Healing
/varset healto 80
|----------------------
|Edit Channel here
|----------------------
/join plchan5:plassist

|                                          |
|------------------------------------------|
|                                          |
/echo Pl Assistant Started
|                                          |
|------------------------------------------|
|                                          |

/delay 1s
/1 Booted and ready to run...
:loop
/doevents
/tar ${Master}
/if (${Target.PctHPs}<= ${healat}) {
/goto :heal
} else {
/goto :loop
}
/return

|                                          |
|------------------------------------------|
|                                          |

:heal
/tar ${Master}
/if (${Target.PctHPs}< ${healto}) {
/stand
/call Cast ${Healspell}
/goto :heal
} else {
/sit
/goto :loop
}

|                                          |
|------------------------------------------|
|                                          |

Sub Event_camp
/camp
/1 Camping, Macro is now disabled
/endmac
/return

|                                          |
|------------------------------------------|
|                                          |

Sub Event_Info
/1 Buff1 = ${Buff[1]}
/1 Buff2 = ${Buff[2]}
/1 Buff3 = ${Buff[3]}
/1 Buff4 = ${Buff[4]}
/1 Buff5 = ${Buff[5]}
/1 Buff6 = ${Buff[6]}
/1 Buff7 = ${Buff[7]}
/1 Heal Spell = ${Healspell}
/1 Current HP = ${Me.PctHPs}
/1 Current Mana = ${Me.PctMana}
/1 Will auto heal at ${healat} and stop when at ${healto}
/return

|                                          |
|------------------------------------------|
|                                          |

Sub Event_sit
/if (${Me.State.NotEqual[SIT]}) {
  /sit
  /delay 5
}
/return

|                                          |
|------------------------------------------|
|                                          |

Sub Event_Buffs(string line, int buffnumber)

/stand
/delay 5
/tar ${Master}
/1 Casting ${Buff[${buffnumber}]} on %t...
/call Cast ${Buff[${buffnumber}]}
/delay 1s
/sit
/return

|                                          |
|------------------------------------------|
|                                          |

Sub Event_Buffother(string line, int buffnumber)

/stand
/delay 5
/assist ${Master}
/delay 2s
/1 Casting ${Buff[${buffnumber}]} on %t...
/call Cast ${Buff[${buffnumber}]}
/delay 1s
/sit
/return

|                                          |
|------------------------------------------|
|                                          |

Sub Event_Chat(ChatType,Sender,ChatText)
/1 ${Sender} told Me, '${ChatText}'
/return

|                                          |
|------------------------------------------|
|                                          |

Sub Event_reset
/1 reseting in 5s
/delay 5s
/deletevar Buff[7]
/deletevar Healspell
/macro ${macname} ${Master}

|                                          |
|------------------------------------------|
|                                          |

Sub Event_Follow

/stand
/delay 5
/tar ${Master}
/1 Following you ${Master}
/stick
/return

|                                          |
|------------------------------------------|
|
Sub Event_Stop


/1  No longer Following ${Master}
/stick off
/delay 1
/return
|                                          |
|------------------------------------------|
|                                          |                                       
Sub Event_Heal
/tar ${Master}
/stand
/1 Casting ${Healspell} on %t untill %100
:CheckHealAgain
/if (${Target.PctHPs}<100) {
  /call Cast ${Healspell}
  /goto :CheckHealAgain
} else {
/1 %t is at %100
/delay 1s
/sit
}
/return
 
Re: Macro help plz

I am new to this experiance, so I need a little guidance. could I get an example of how the above listed macro would be used??
 
i changed spells for use as a cleric healing and i got these errors

speelcast@102 (Cast(SpellName,ItemFlag,DismountFlag)):/if(${Target.lD}>;0) /varset HaveTarget1
Plassist.mac@114 (Main):/call Cast ${Healspell}


any help please

Thanks in Advance
 
Macro help plz (powerleveling macro)

Users who are viewing this thread

Back
Top
Cart