Moderator: MacroQuest Developers


Code: Select all
/if (${SaveCombatStat}) {
/if (${Target.ID}!=${SaveCombatID}) /target ID ${SaveCombatID}
/if (${Target.ID} && ${Target.Type.Equal[NPC]} [color=red]&& ${Target.State.NotEqual[DEAD]}[/color]) {
/if (${Me.Sitting}) /stand
/attack on
/varset Combatstatus 1
}
}

Code: Select all
/if (${Combatstatus} [color=red]|| ${Me.Combat}[/color]) {
/varset SaveCombatStat 1
/varset SaveCombatID ${Target.ID}
}



Code: Select all
/declare ArgNum int local 1
[color=red]/If (${SelfBuffList.Equal[Buffs you wish to maintain of yourself sperated with |.]} || !${SelfBuffList.Length}) /return[/color]
:SelfBuffLoad

LordGiddion wrote:fez: thing is the saved ID is a local variable so it should get wiped every time the heal routine cycles. Seems the only way what you describe should happen, is the cleric is in the middle of a heal routine, the mob it was fighting before the heal started died, and you order it to assist before the heal routine finishes.
NightShift try this for the no buff - it should stop the spam:
Code: Select all
/declare ArgNum int local 1 [color=red]/If (${SelfBuffList.Equal[Buffs you wish to maintain of yourself sperated with |.]} || !${SelfBuffList.Length}) /return[/color] :SelfBuffLoad

Code: Select all
/If (${SelfBuffList.Equal[Buffs you wish to maintain of yourself sperated with |.]} || !${SelfBuffList.Length})
is not in there anymore.Buffs you wish to maintain of yourself sperated with |.

Fuergrissa wrote:the spam for me is caused because it is trying to cast the self buff regardless, if you put in a name for self buff in the ini it will not spam, if there is no self buff it tries to cast "Buffs" or "", either way when the ini gets created now its fairly incomplete, lots of incomplete lines get written to the ini. Also i can only select ONE master, i am using the very latest MQ2.
the codewont work because the ini file is not being writtin and the textCode: Select all
/If (${SelfBuffList.Equal[Buffs you wish to maintain of yourself sperated with |.]} || !${SelfBuffList.Length})is not in there anymore.Buffs you wish to maintain of yourself sperated with |.

Code: Select all
[CORE]
RangeMin=10
RangeMax=12
FastRange=14
FastMin=6
Relaytells=1
ListenGroup=1
ListenChat=1
ListenChan=1
AttackOnAssist=0
BehindOnAssist=0
PetOnAssist=0
Verbosity=9
ChatIn=Tell
ChatInChannel=Channel
MountItem=Name
AnchorRadius=6
IgnGroupList=duck|say|tell|group|cmds|trade|run|backstab|taunt|evade|slam|bash|kick|flyingkick|disarm|traps|puller||
FollowMode=1
MoveToMode=1
CheckName=0
[advpath]
FaceFast=1
SpeedSense=15
FollowDistance=20
SilentFlag=1
[Combat]
DoBackstab=0
DoTaunt=0
DoEvade=0
DoFrenzy=0
DoSlam=0
DoBash=0
DoKick=0
DoFlyingKick=0
DoDisarm=0
DoTraps=0
DoArchery=0
AutoEngage=0
AutoBehind=0
DoIncite=0
[Spell]
DelayBeforeSit=3s
SpellGem=8
SitAfterCast=0
DefaultSpellSet=Default
EvacSpell=NONE
ReportLom=0
LomMsg=Warning
CanniSpell=Canniblize
DoCanni=0
YaulpSpell=yaulp
DoYaulp=0
ChainStun=Your
ChainNuke=Your
SelfBuffList=Buffs
IsBard=0
Remem=0
[Healer]
IsHealer=0
IsPally=0
ReportAutoHeal=1
HealPets=0
PatchHealer=1
TankSpell=Name
CasterSpell=Name
DefaultHealSpell=Name
PetSpell=Name
PatchSpell=Name
HealCasterMsg=Healing
HealTankMsg=Big
HealPetMsg=Healing
PatchHealMsg=Patch
PallyHealSpell=Name
PalHealMsg=Healing
PallyGroupSpell=Name
CasterPctHeal=70
TankPctHeal=51
PetPctHeal=51
PalGrpPct=81
PalHealPct=81
TankList=Warrior|Shadow Knight|Paladin|Monk|Beastlord|Ranger|Shaman|Berserker
CasterList=Necromancer|Wizard|Enchanter|Magician|Rogue|Druid|Cleric|Bard

Code: Select all
/ini ${IniFile} ${SectionName} ${KeyName} [color=red]"[/color]${DefaultValue}[color=red]"[/color]

Code: Select all
/ini ${IniFile} "${SectionName}" "${KeyName}" "${DefaultValue}"

Code: Select all
TankSpell=Name
CasterSpell=Name
DefaultHealSpell=Name
PetSpell=Name
PatchSpell=Name
HealCasterMsg=Healing
HealTankMsg=Big
HealPetMsg=Healing
PatchHealMsg=Patch
PallyHealSpell=Name
PalHealMsg=Healing
PallyGroupSpell=Name