Moderator: MacroQuest Developers
Sure, go ahead.B_rizzleB wrote:Could this be changed into a druid macro so instead of /t yourbot slow, we could go /t yourbot snare, all u'd have to do is just change the codes, secondly for cheal over Quiescence at 80perecent, and just keep the fastheal, but change it to the druid spellnames! if i get it to work i'll post it and give credit!
Code tags maintain indentation, USE THEM.B_rizzleB wrote:in the snippets section im using rusty's spellroutines.inc or whatever, another thingy for the autofollow when not on a mount, it doesnt exstis
the mount should be taken out then saved, so it will enable autofollow when the bot is not on a mount!, this is a niffty lilbot and once i mess around with it more i'll try to make it for other classes, I'm pretty new to this but i can read this bot quite easiliy =)
Code: Select all
Sub Event_followme(Text,MasterName,FollowName)
/if (${MasterName.Equal[${MyMaster}]}) {
/if (${FollowName.Length} || ${FollowName.Equal[me]} || ${FollowName.Equal[${MyMaster}]}) {
/tar pc ${MyMaster}
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}
} else {
/tar pc ${FollowName}
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}
}
/t ${MyMaster} I'm now following ${Target.Name}
}
/returnCode: Select all
/if (!${Me.Mount.ID}) {
/squelch /stick 15
} else {
/fol
}Code: Select all
Sub Event_Chat
/if (${ChatText.Find[follow]}) {
/if (${ChatText.Arg[2].Length} && ${Spawn[pc ${ChatText.Arg[2]}].ID}) /varset FollowGuy ${Spawn[pc ${ChatText.Arg[2]}].ID}
/if ((!${ChatText.Arg[2].Length} || !${Spawn[pc ${ChatText.Arg[2]}].ID}) && ${Spawn[pc ${Sender}].ID}) /varset FollowGuy ${Spawn[pc ${Sender}].ID}
/target id ${FollowGuy}
/delay 1s ${Target.ID}==${FollowGuy}
/squelch /stick hold uw
/varset FollowOn 1
/varset MakeCamp 0
/varset StickTarget ${FollowGuy}
}
Code: Select all
#event IncomingSnare "soandso tells you, 'Inc. #1#'"
|add these 2 lines in :MainLoop
/if (!${Defined[NeedToSnare]}) /declare NeedToSnare int outer 0
/if (${IncSnare}==0 && ${Defined[IncSnare]} && ${NeedToSnare}==0) /call IncomingSnare
Sub Event_IncomingSnare
/if (!${Defined[IncSnare]}) /declare IncSnare timer outer 0
/varset IncSnare 320
/varset NeedToSnare 0
/return
Sub IncomingSnare
/varset NeedToSnare 1
/tar soandso
/delay 1s
/if (${Target.PctHPs}<70) /call Cast "${FastHealSpell}"
/assist
/delay 2s
/call Cast "Ensnare" gem3
/delay 1s
/call Cast "Grasping Roots" gem8
/tar soandso
/return
Code: Select all
/call Cast "${SpellName}Code: Select all
/call Cast "${SpellName}"Code: Select all
/if (!${Defined[HealSpell]}) /declare HealSpell string outer "Complete Healing"Code: Select all
/if (!${Defined[HealSpell]}) /declare HealSpell string outer Complete Healing