BuffBeg.inc v3.31

A forum for macro code snippets to be used in writing other macros. Post routines or .inc files here only, completed macros go to the Macro Depot. MQ2Data format only!

Moderator: MacroQuest Developers

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

BuffBeg.inc v3.31

Post by A_Druid_00 » Mon Nov 22, 2004 12:27 pm

6/25
v3.3 Fixed an issue with begging for buffs from everyone and their brother if you were guildless, as nearestspawn[pc guild] appears to be everybody.
1/18
v3.3 Added a Rogue Helper-like version check to buffbeg now too. Cuts out a little bit of lag by not reloading the aliases every time you restart your macros.
v3.2 Added a check for Me.FreeBuffSlots, to prevent begging buffs when you don't even have any buff slots available.
1/17
v3.1 Added a few new buffs and a few new aliases to toggle them.
12/10
v3.0Added all buff begging checks to Buffbeg.ini. Making it easier to add the buffs that overwrite each other yourself. Posting a sample ini at the bottom of this post for reference.
12/2
v2.1: Removed a few extra closing brackets that were causing VoQ begging to never get turned off when BuffBeg was turned off. I lied and I plan to add more functionality to the ini file in the form of stacking issues using a /for loop or 10.
11/30
v2.0: Added ini support on a per character basis, also added AoR begging and uhh, maybe one or 2 others. This'll probably be my last official update, since no one's really asked for any added buffs since the original. Also added random buff begging in the BegMessages Sub, which allows for up to 10 unique buff request phrases in order to make it less boring. Just make sure to have ${BegBuff} in each of them, or the person you're begging from won't know what it is you want.
v1.4: Added Haste, Regen, and DS begging.
v1.3: Fixed the OakBeg declare
v1.2: Cleaned up a lot of redundant code in the toggle section by creating the ToggleBuffBeg Sub. Still looking for suggestions on how to clean it up more.
v1.1: Fixed some screwed up references in some random if statements. Still looking for feedback on buff stacking issues and stuff

Just putting this up here so I can get some feedback on things I might be missing. What I've done here is totally rewrite fantum409s Buffbeg.mac into a more generic and robust inc file. What this one does is sets a variable for DoBuffBeg to stop and start it via toggles, as well as toggles for each individual buff. You can then define these default toggle values in your character's ini fils, so that it only begs for the buffs you want.

I did this because I got tired of re-writing buffbeg inc files for every class I happen to bot, and thought to myself "Self, wouldn't it be neat if you could just use the same buffbeg inc file for every class"

What I need from you, my dear readers, is submissions of any common buffs I missed; and submissions of any stacking issues I have overlooked with certain buffs (Nothing like begging all your guild enchanters for VoQ in the middle of fighting Terris in Time)

Note that there are 2 subs to call here. BuffBegDeclares should get called in the section you do all your /declares, before the main loop; and Buffbeg should get called from somewhre within the main loop. I don't like re-declaring everything every time the inc gets called. Call me picky.

If you'd like to see more buffs added, let me know which ones you want, and I'll do my best to throw them in there. Also, if you have any suggestions on how to clean this up more, don't hesitate to provide me with examples, I'm still learning as I go here.

Code: Select all

|BuffBeg.inc v3.31

#Event SetAoRBeg      "[MQ2] SetAoRBeg#*#"
#Event SetAvatarBeg   "[MQ2] SetAvatarBeg#*#"
#Event SetBSSBeg      "[MQ2] SetBSSBeg#*#"
#Event SetBuffBeg     "[MQ2] SetBuffBeg#*#"
#Event SetDSBeg       "[MQ2] SetDSBeg#*#"
#Event SetGoDBeg      "[MQ2] SetGoDBeg#*#"
#Event SetFerocityBeg "[MQ2] SetFerocityBeg#*#"
#Event SetFocusBeg    "[MQ2] SetFocusBeg#*#"
#Event SetFortBeg     "[MQ2] SetFortBeg#*#"
#Event SetHasteBeg    "[MQ2] SetHasteBeg#*#"
#Event SetLionBeg     "[MQ2] SetLionBeg#*#"
#Event SetMightBeg    "[MQ2] SetMightBeg#*#"
#Event SetOakBeg      "[MQ2] SetOakBeg#*#"
#Event SetRegenBeg    "[MQ2] SetRegenBeg#*#"
#Event SetRodBeg      "[MQ2] SetRodBeg#*#"
#Event SetSDBeg       "[MQ2] SetSDBeg#*#"
#Event SetSeasonBeg   "[MQ2] SetSeasonBeg#*#"
#Event SetSenseBeg    "[MQ2] SetSenseBeg#*#"
#Event SetSoEBeg      "[MQ2] SetSoEBeg#*#"
#Event SetSoTBeg      "[MQ2] SetSoTBeg#*#"
#Event SetSVBeg       "[MQ2] SetSVBeg#*#"
#Event SetSymBeg      "[MQ2] SetSymBeg#*#"
#Event SetTalismanBeg "[MQ2] SetTalismanBeg#*#"
#Event SetVirtBeg     "[MQ2] SetVirtBeg#*#"
#Event SetVoQBeg      "[MQ2] SetVoQBeg#*#"

Sub BegMessages
/varset BegArray[1]  "${BegBuff} please"
/varset BegArray[2]  "${BegBuff} please"
/varset BegArray[3]  "${BegBuff} please"
/varset BegArray[4]  "${BegBuff} please"
/varset BegArray[5]  "${BegBuff} please"
/varset BegArray[6]  "${BegBuff} please"
/varset BegArray[7]  "${BegBuff} please"
/varset BegArray[8]  "${BegBuff} please"
/varset BegArray[9]  "${BegBuff} please"
/varset BegArray[10] "${BegBuff} please"
/varset BegArray[11] "${BegBuff} please"
/varset BegArray[12] "${BegBuff} please"
/varset BegArray[13] "${BegBuff} please"
/varset BegArray[14] "${BegBuff} please"
/varset BegArray[15] "${BegBuff} please"
/return

Sub Buffbeg
/declare i int local
/declare a int local
/if (${DoBuffBeg} && !${BuffBegTimer} && ${Me.FreeBuffSlots}) {
  /if (!${AoRBegTimer} && ${AoRBeg}) {
    /for i 1 to 20
    /if (${AoRBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset AoRBegTimer 30s
      /return
    }
    /next i
    /varset BegClass clr
    /varset BegBuff ${AoRName}
    /call RandomBeg
    /varset AoRBegTimer 180s
    /return
  }
  /if (!${AvatarBegTimer} && ${AvatarBeg}) {
    /for i 1 to 20
    /if (${AvatarBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset AvatarBegTimer 30s
      /return
    }
    /next i
    /varset BegClass shm
    /varset BegBuff ${AvatarName}
    /call RandomBeg
    /varset AvatarBegTimer 180s
    /return
  }
  /if (!${BSSBegTimer} && ${BSSBeg}) {
    /for i 1 to 20
    /if (${BSSBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset BSSBegTimer 30s
      /return
    }
    /next i
    /varset BegClass pal
    /varset BegBuff ${BSSName}
    /call RandomBeg
    /varset BSSBegTimer 180s
    /return
  }
  /if (!${DSBegTimer} && ${DSBeg}) {
    /for i 1 to 20
    /if (${DSBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset DSBegTimer 30s
      /return
    }
    /next i
    /varset BegClass mag
    /varset BegBuff ${DSName}
    /call RandomBeg
    /if (${BegReturn.Equal[BEG_SUCCESS]}) {
      /varset DSBegTimer 180s
      /return
    }
    /varset BegClass dru
    /call RandomBeg
    /varset DSBegTimer 180s
    /return
  }
  /if (!${GoDBegTimer} && ${GoDBeg}) {
    /for i 1 to 20
    /if (${GoDBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset GoDBegTimer 30s
      /return
    }
    /next i
    /varset BegClass enc
    /varset BegBuff ${GoDName}
    /call RandomBeg
    /varset GoDBegTimer 180s
    /return
  }
  /if (!${FerocityBegTimer} && ${FerocityBeg}) {
    /for i 1 to 20
    /if (${FerocityBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset FerocityBegTimer 30s
      /return
    }
    /next i
    /varset BegClass bst
    /varset BegBuff ${FerocityName}
    /call RandomBeg
    /varset FerocityBegTimer 180s
    /return
  }
  /if (!${FocusBegTimer} && ${FocusBeg}) {
    /for i 1 to 20
    /if (${FocusBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset FocusBegTimer 30s
      /return
    }
    /next i
    /varset BegClass shm
    /varset BegBuff ${FocusName}
    /call RandomBeg
    /varset FocusBegTimer 180s
    /return
  }
  /if (!${FortBegTimer} && ${FortBeg}) {
    /for i 1 to 20
    /if (${FortBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset FortBegTimer 30s
      /return
    }
    /next i
    /varset BegClass shm
    /varset BegBuff ${FortName}
    /call RandomBeg
    /varset FortBegTimer 180s
    /return
  }
  /if (!${HasteBegTimer} && ${HasteBeg}) {
    /for i 1 to 20
    /if (${HasteBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset HasteBegTimer 30s
      /return
    }
    /next i
    /varset BegClass enc
    /varset BegBuff ${HasteName}
    /call RandomBeg
    /if (${BegReturn.Equal[BEG_SUCCESS]}) {
      /varset HasteBegTimer 180s
      /return
    }
    /varset BegClass shm
    /call RandomBeg
    /varset HasteBegTimer 180s
    /return
  }
  /if (!${LionBegTimer} && ${LionBeg}) {
    /for i 1 to 20
    /if (${LionBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset LionBegTimer 30s
      /return
    }
    /next i
    /varset BegClass dru
    /varset BegBuff ${LionName}
    /call RandomBeg
    /varset LionBegTimer 180s
    /return
  }
  /if (!${MightBegTimer} && ${MightBeg}) {
    /for i 1 to 20
    /if (${MightBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset MightBegTimer 30s
      /return
    }
    /next i
    /varset BegClass shm
    /varset BegBuff ${MightName}
    /call RandomBeg
    /varset MightBegTimer 180s
    /return
  }
  /if (!${OakBegTimer} && ${OakBeg}) {
    /for i 1 to 20
    /if (${OakBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset OakBegTimer 30s
      /return
    }
    /next i
    /varset BegClass dru
    /varset BegBuff ${OakName}
    /call RandomBeg
    /varset OakBegTimer 180s
    /return
  }
  /if (!${RegenBegTimer} && ${RegenBeg}) {
    /for i 1 to 20
    /if (${RegenBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset RegenBegTimer 30s
      /return
    }
    /next i
    /varset BegClass dru
    /varset BegBuff ${RegenName}
    /call RandomBeg
    /if (${BegReturn.Equal[BEG_SUCCESS]}) {
      /varset RegenBegTimer 180s
      /return
    }
    /varset BegClass shm
    /call RandomBeg
    /varset RegenBegTimer 180s
    /return
  }
  /if (!${RodBegTimer} && ${RodBeg}) {
    /for i 1 to 20
    /for a 1 to ${RodBuffs.Count[|]}
    /if (${FindItemCount[${RodBuffs.Arg[${a},|]}]}>0) {
      /varset RodBegTimer 30s
      /return
    }
    /next a
    /next i
    /varset BegClass mag
    /varset BegBuff ${RodName}
    /call RandomBeg
    /varset RodBegTimer 180s
    /return
  }
  /if (!${SDBegTimer} && ${SDBeg}) {
    /for i 1 to 20
    /if (${SDBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset SDBegTimer 30s
      /return
    }
    /next i
    /varset BegClass bst
    /varset BegBuff ${SDName}
    /call RandomBeg
    /varset SDBegTimer 180s
    /return
  }
  /if (!${SeasonBegTimer} && ${SeasonBeg}) {
    /for i 1 to 20
    /if (${SeasonBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset SeasonBegTimer 30s
      /return
    }
    /next i
    /varset BegClass dru
    /varset BegBuff ${SeasonName}
    /call RandomBeg
    /varset SeasonBegTimer 180s
    /return
  }
  /if (!${SenseBegTimer} && ${SenseBeg}) {
    /for i 1 to 20
    /if (${SenseBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset SenseBegTimer 30s
      /return
    }
    /next i
    /varset BegClass shm
    /varset BegBuff ${SenseName}
    /call RandomBeg
    /varset SenseBegTimer 180s
    /return
  }
  /if (!${SoEBegTimer} && ${SoEBeg}) {
    /for i 1 to 20
    /if (${SoEBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset SoEBegTimer 30s
      /return
    }
    /next i
    /varset BegClass dru
    /varset BegBuff ${SoEName}
    /call RandomBeg
    /if (${BegReturn.Equal[BEG_SUCCESS]}) {
      /varset SoEBegTimer 180s
      /return
    }
    /varset BegClass rng
    /call RandomBeg
    /varset RegenBegTimer 180s
    /return
  }
  /if (!${SoTBegTimer} && ${SoTBeg}) {
    /for i 1 to 20
    /if (${SoTBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset SoTBegTimer 30s
      /return
    }
    /next i
    /varset BegClass rng
    /varset BegBuff ${SoTName}
    /call RandomBeg
    /varset SoTBegTimer 180s
    /return
  }
  /if (!${SVBegTimer} && ${SVBeg}) {
    /for i 1 to 20
    /if (${SVBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset SVBegTimer 30s
      /return
    }
    /next i
    /varset BegClass bst
    /varset BegBuff ${SVName}
    /call RandomBeg
    /varset SVBegTimer 180s
    /return
  }
  /if (!${TalismanBegTimer} && ${TalismanBeg}) {
    /for i 1 to 20
    /if (${TalismanBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset TalismanBegTimer 30s
      /return
    }
    /next i
    /varset BegClass shm
    /varset BegBuff ${TalismanName}
    /call RandomBeg
    /varset TalismanBegTimer 180s
    /return
  }
  /if (!${SymBegTimer} && ${SymBeg}) {
    /for i 1 to 20
    /if (${SymBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset SymBegTimer 30s
      /return
    }
    /next i
    /varset BegClass clr
    /varset BegBuff ${SymName}
    /call RandomBeg
    /if (${BegReturn.Equal[BEG_SUCCESS]}) {
      /varset SymBegTimer 180s
      /return
    }
    /varset BegClass pal
    /call RandomBeg
    /varset SymBegTimer 180s
    /return
  }
  /if (!${TalismanBegTimer} && ${TalismanBeg}) {
    /for i 1 to 20
    /if (${TalismanBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset TalismanBegTimer 30s
      /return
    }
    /next i
    /varset BegClass shm
    /varset BegBuff ${TalismanName}
    /call RandomBeg
    /varset TalismanBegTimer 180s
    /return
  }
  /if (!${VirtBegTimer} && ${VirtBeg}) {
    /for i 1 to 20
    /if (${VirtBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset VirtBegTimer 30s
      /return
    }
    /next i
    /varset BegClass clr
    /varset BegBuff ${VirtName}
    /call RandomBeg
    /varset VirtBegTimer 180s
    /return
  }
  /if (!${VoQBegTimer} && ${VoQBeg}) {
    /for i 1 to 20
    /if (${VoQBuffs.Find[${Me.Buff[${i}].Spell}]}) {
      /varset VoQBegTimer 30s
      /return
    }
    /next i
    /varset BegClass enc
    /varset BegBuff ${VoQName}
    /call RandomBeg
    /varset VoQBegTimer 180s
    /return
  }
}
/return

Sub RandomBeg
/call BegMessages
/if (${String[${NearestSpawn[PC ${BegClass} guild]}].NotEqual[NULL]} && ${NearestSpawn[PC ${BegClass} guild].Distance}<=100 && ${Me.Guild.NotEqual[NULL]}) {
  /varcalc BegMessage ${Math.Rand[15]} + 1
  /tell ${NearestSpawn[PC ${BegClass} guild]} ${BegArray[${BegMessage}]}
  /varset BuffBegTimer 3s
  /varset BegReturn BEG_SUCCESS
} else /if (${String[${NearestSpawn[PC ${BegClass} group]}].NotEqual[NULL]} && ${NearestSpawn[PC ${BegClass} group].Distance}<=100) {
  /varcalc BegMessage ${Math.Rand[15]} + 1
  /tell ${NearestSpawn[PC ${BegClass} group]} ${BegArray[${BegMessage}]}
  /varset BuffBegTimer 3s
  /varset BegReturn BEG_SUCCESS
} else {
  /varset BegReturn BEG_FAIL
}
/return

Sub ToggleBuffBeg(string Line)
/if (!${Line.Arg[3].Length}) {
  /if (${TempVar}) {
    /varset TempVar 0
  } else {
    /varset TempVar 1
  }
}
/if (${Line.Arg[3].Equal[ON]} || ${Line.Arg[3].Equal[TRUE]} || ${Line.Arg[3].Equal[1]}) {
  /varset TempVar 1
}
/if (${Line.Arg[3].Equal[OFF]} || ${Line.Arg[3].Equal[FALSE]} || ${Line.Arg[3].Equal[0]}) {
  /varset TempVar 0
}
/return

Sub Event_SetAoRBeg(string Line)
/varset TempVar ${AoRBeg}
/call ToggleBuffBeg "${Line}"
/varset AoRBeg ${TempVar}
/ini "${BBIni}" BBSettings AoRBeg ${TempVar}
/if (!${AoRBeg}) {
  /echo Auto AoR Begging is now OFF
} else {
  /echo Auto AoR Begging is now ON
}
/return

Sub Event_SetAvatarBeg(string Line)
/varset TempVar ${AvatarBeg}
/call ToggleBuffBeg "${Line}"
/varset AvatarBeg ${TempVar}
/ini "${BBIni}" BBSettings AvatarBeg ${TempVar}
/if (!${AvatarBeg}) {
  /echo Auto Avatar Begging is now OFF
} else {
  /echo Auto Avatar Begging is now ON
}
/return

Sub Event_SetBSSBeg(string Line)
/varset TempVar ${BSSBeg}
/call ToggleBuffBeg "${Line}"
/varset BSSBeg ${TempVar}
/ini "${BBIni}" BBSettings BSSBeg ${TempVar}
/if (!${BSSBeg}) {
  /echo Auto BSS Begging is now OFF
} else {
  /echo Auto BSS Begging is now ON
}
/return

Sub Event_SetBuffBeg(string Line)
/varset TempVar ${DoBuffBeg}
/call ToggleBuffBeg "${Line}"
/varset DoBuffBeg ${TempVar}
/ini "${BBIni}" BBSettings DoBuffBeg ${TempVar}
/if (!${DoBuffBeg}) {
  /echo Auto Buff Begging is now OFF
} else {
  /echo Auto Buff Begging is now ON
}
/return

Sub Event_SetDSBeg(string Line)
/varset TempVar ${DSBeg}
/call ToggleBuffBeg "${Line}"
/varset DSBeg ${TempVar}
/ini "${BBIni}" BBSettings DSBeg ${TempVar}
/if (!${DSBeg}) {
  /echo Auto Damage Shield Begging is now OFF
} else {
  /echo Auto Damage Shield Begging is now ON
}
/return

Sub Event_SetGoDBeg(string Line)
/varset TempVar ${GoDBeg}
/call ToggleBuffBeg "${Line}"
/varset GoDBeg ${TempVar}
/ini "${BBIni}" BBSettings GoDBeg ${TempVar}
/if (!${GoDBeg}) {
  /echo Auto GoD Begging is now OFF
} else {
  /echo Auto GoD Begging is now ON
}
/return

Sub Event_SetFerocityBeg(string Line)
/varset TempVar ${FerocityBeg}
/call ToggleBuffBeg "${Line}"
/varset FerocityBeg ${TempVar}
/ini "${BBIni}" BBSettings FerocityBeg ${TempVar}
/if (!${FerocityBeg}) {
  /echo Auto Ferocity Begging is now OFF
} else {
  /echo Auto Ferocity Begging is now ON
}
/return

Sub Event_SetFocusBeg(string Line)
/varset TempVar ${FocusBeg}
/call ToggleBuffBeg "${Line}"
/varset FocusBeg ${TempVar}
/ini "${BBIni}" BBSettings FocusBeg ${TempVar}
/if (!${FocusBeg}) {
  /echo Auto Focus Begging is now OFF
} else {
  /echo Auto Focus Begging is now ON
}
/return

Sub Event_SetFortBeg(string Line)
/varset TempVar ${FortBeg}
/call ToggleBuffBeg "${Line}"
/varset FortBeg ${TempVar}
/ini "${BBIni}" BBSettings FortBeg ${TempVar}
/if (!${FortBeg}) {
  /echo Auto Fortitude Begging is now OFF
} else {
  /echo Auto Fortitude Begging is now ON
}
/return

Sub Event_SetHasteBeg(string Line)
/varset TempVar ${HasteBeg}
/call ToggleBuffBeg "${Line}"
/varset HasteBeg ${TempVar}
/ini "${BBIni}" BBSettings HasteBeg ${TempVar}
/if (!${HasteBeg}) {
  /echo Auto Haste Begging is now OFF
} else {
  /echo Auto Haste Begging is now ON
}
/return

Sub Event_SetLionBeg(string Line)
/varset TempVar ${LionBeg}
/call ToggleBuffBeg "${Line}"
/varset LionBeg ${TempVar}
/ini "${BBIni}" BBSettings LionBeg ${TempVar}
/if (!${LionBeg}) {
  /echo Auto Lion Begging is now OFF
} else {
  /echo Auto Lion Begging is now ON
}
/return

Sub Event_SetMightBeg(string Line)
/varset TempVar ${MightBeg}
/call ToggleBuffBeg "${Line}"
/varset MightBeg ${TempVar}
/ini "${BBIni}" BBSettings MightBeg ${TempVar}
/if (!${MightBeg}) {
  /echo Auto Might Begging is now OFF
} else {
  /echo Auto Might Begging is now ON
}
/return

Sub Event_SetOakBeg(string Line)
/varset TempVar ${OakBeg}
/call ToggleBuffBeg "${Line}"
/varset OakBeg ${TempVar}
/ini "${BBIni}" BBSettings OakBeg ${TempVar}
/if (!${OakBeg}) {
  /echo Auto Oak Begging is now OFF
} else {
  /echo Auto Oak Begging is now ON
}
/return

Sub Event_SetRegenBeg(string Line)
/varset TempVar ${RegenBeg}
/call ToggleBuffBeg "${Line}"
/varset RegenBeg ${TempVar}
/ini "${BBIni}" BBSettings RegenBeg ${TempVar}
/if (!${RegenBeg}) {
  /echo Auto Regeneration Begging is now OFF
} else {
  /echo Auto Regeneration Begging is now ON
}
/return

Sub Event_SetRodBeg(string Line)
/varset TempVar ${RodBeg}
/call ToggleBuffBeg "${Line}"
/varset RodBeg ${TempVar}
/ini "${BBIni}" BBSettings RodBeg ${TempVar}
/if (!${RodBeg}) {
  /echo Auto Mod Rod Begging is now OFF
} else {
  /echo Auto Mod Rod Begging is now ON
}
/return

Sub Event_SetSDBeg(string Line)
/varset TempVar ${SDBeg}
/call ToggleBuffBeg "${Line}"
/varset SDBeg ${TempVar}
/ini "${BBIni}" BBSettings SDBeg ${TempVar}
/if (!${SDBeg}) {
  /echo Auto SD Begging is now OFF
} else {
  /echo Auto SD Begging is now ON
}
/return

Sub Event_SetSVBeg(string Line)
/varset TempVar ${SVBeg}
/call ToggleBuffBeg "${Line}"
/varset SVBeg ${TempVar}
/ini "${BBIni}" BBSettings SVBeg ${TempVar}
/if (!${SVBeg}) {
  /echo Auto SV Begging is now OFF
} else {
  /echo Auto SV Begging is now ON
}
/return

Sub Event_SetSeasonBeg(string Line)
/varset TempVar ${SeasonBeg}
/call ToggleBuffBeg "${Line}"
/varset SeasonBeg ${TempVar}
/ini "${BBIni}" BBSettings SeasonBeg ${TempVar}
/if (!${SeasonBeg}) {
  /echo Auto Season Begging is now OFF
} else {
  /echo Auto Season Begging is now ON
}
/return

Sub Event_SetSenseBeg(string Line)
/varset TempVar ${SenseBeg}
/call ToggleBuffBeg "${Line}"
/varset SenseBeg ${TempVar}
/ini "${BBIni}" BBSettings SenseBeg ${TempVar}
/if (!${SenseBeg}) {
  /echo Auto Sense Begging is now OFF
} else {
  /echo Auto Sense Begging is now ON
}
/return

Sub Event_SetSoEBeg(string Line)
/varset TempVar ${SoEBeg}
/call ToggleBuffBeg "${Line}"
/varset SoEBeg ${TempVar}
/ini "${BBIni}" BBSettings SoEBeg ${TempVar}
/if (!${SoEBeg}) {
  /echo Auto SoE Begging is now OFF
} else {
  /echo Auto SoE Begging is now ON
}
/return

Sub Event_SetSoTBeg(string Line)
/varset TempVar ${SoTBeg}
/call ToggleBuffBeg "${Line}"
/varset SoTBeg ${TempVar}
/ini "${BBIni}" BBSettings SoTBeg ${TempVar}
/if (!${SoTBeg}) {
  /echo Auto SoT Begging is now OFF
} else {
  /echo Auto SoT Begging is now ON
}
/return

Sub Event_SetSymBeg(string Line)
/varset TempVar ${SymBeg}
/call ToggleBuffBeg "${Line}"
/varset SymBeg ${TempVar}
/ini "${BBIni}" BBSettings SymBeg ${TempVar}
/if (!${SymBeg}) {
  /echo Auto Symbol Begging is now OFF
} else {
  /echo Auto Symbol Begging is now ON
}
/return

Sub Event_SetTalismanBeg(string Line)
/varset TempVar ${TalismanBeg}
/call ToggleBuffBeg "${Line}"
/varset TalismanBeg ${TempVar}
/ini "${BBIni}" BBSettings TalismanBeg ${TempVar}
/if (!${TalismanBeg}) {
  /echo Auto Talisman Begging is now OFF
} else {
  /echo Auto Talisman Begging is now ON
}
/return

Sub Event_SetVirtBeg(string Line)
/varset TempVar ${VirtBeg}
/call ToggleBuffBeg "${Line}"
/varset VirtBeg ${TempVar}
/ini "${BBIni}" BBSettings VirtBeg ${TempVar}
/if (!${VirtBeg}) {
  /echo Auto Virtue Begging is now OFF
} else {
  /echo Auto Virtue Begging is now ON
}
/return

Sub Event_SetVoQBeg(string Line)
/varset TempVar ${VoQBeg}
/call ToggleBuffBeg "${Line}"
/varset VoQBeg ${TempVar}
/ini "${BBIni}" BBSettings VoQBeg ${TempVar}
/if (!${VoQBeg}) {
  /echo Auto VoQ Begging is now OFF
} else {
  /echo Auto VoQ Begging is now ON
}
/return

Sub SetupBBIni
/declare IniString string local
/varset BBIni BB_${Me.CleanName}.ini
/varset IniString ${Ini[${BBIni},BBSettings,DoBuffBeg,NOTFOUND]}
/varset DoBuffBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings DoBuffBeg 0
  /varset DoBuffBeg 0
}
/varset IniString ${Ini[${BBIni},BBSettings,AoRBeg,NOTFOUND]}
/varset AoRBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings AoRBeg 0
  /varset AoRBeg 0
}
/varset AoRName ${Ini[BuffBeg.ini,BBSettings,AoRName,NOTFOUND]}
/if (${AoRName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings AoRName BoR
  /varset AoRName BoR
}
/varset AoRBuffs ${Ini[BuffBeg.ini,BBSettings,AoRBuffs,NOTFOUND]}
/if (${AoRBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings AoRBuffs "Put the name of your AoR Buffs here, and any buffs that block AoR separated by |"
  /varset AoRBuffs "Put the name of your AoR Buffs here, and any buffs that block AoR separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,AvatarBeg,NOTFOUND]}
/varset AvatarBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings AvatarBeg 0
  /varset AvatarBeg 0
}
/varset AvatarName ${Ini[BuffBeg.ini,BBSettings,AvatarName,NOTFOUND]}
/if (${AvatarName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings AvatarName Avatar
  /varset AvatarName Avatar
}
/varset AvatarBuffs ${Ini[BuffBeg.ini,BBSettings,AvatarBuffs,NOTFOUND]}
/if (${AvatarBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings AvatarBuffs "Put the name of your Avatar Buffs here, and any buffs that block Avatar separated by |"
  /varset AvatarBuffs "Put the name of your Avatar Buffs here, and any buffs that block Avatar separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,BSSBeg,NOTFOUND]}
/varset BSSBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings BSSBeg 0
  /varset BSSBeg 0
}
/varset BSSName ${Ini[BuffBeg.ini,BBSettings,BSSName,NOTFOUND]}
/if (${BSSName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings BSSName BSS
  /varset BSSName BSS
}
/varset BSSBuffs ${Ini[BuffBeg.ini,BBSettings,BSSBuffs,NOTFOUND]}
/if (${BSSBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings BSSBuffs "Put the name of your BSS Buffs here, and any buffs that block BSS separated by |"
  /varset BSSBuffs "Put the name of your BSS Buffs here, and any buffs that block BSS separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,DSBeg,NOTFOUND]}
/varset DSBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings DSBeg 0
  /varset DSBeg 0
}
/varset DSName ${Ini[BuffBeg.ini,BBSettings,DSName,NOTFOUND]}
/if (${DSName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings DSName DS
  /varset DSName DS
}
/varset DSBuffs ${Ini[BuffBeg.ini,BBSettings,DSBuffs,NOTFOUND]}
/if (${DSBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings DSBuffs "Put the name of your DS Buffs here, and any buffs that block DS separated by |"
  /varset DSBuffs "Put the name of your DS Buffs here, and any buffs that block DS separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,GoDBeg,NOTFOUND]}
/varset GoDBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings GoDBeg 0
  /varset GoDBeg 0
}
/varset GoDName ${Ini[BuffBeg.ini,BBSettings,GoDName,NOTFOUND]}
/if (${GoDName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings GoDName GoD
  /varset GoDName GoD
}
/varset GoDBuffs ${Ini[BuffBeg.ini,BBSettings,GoDBuffs,NOTFOUND]}
/if (${GoDBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings GoDBuffs "Put the name of your GoD Buffs here, and any buffs that block GoD separated by |"
  /varset GoDBuffs "Put the name of your GoD Buffs here, and any buffs that block GoD separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,FerocityBeg,NOTFOUND]}
/varset FerocityBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings FerocityBeg 0
  /varset FerocityBeg 0
}
/varset FerocityName ${Ini[BuffBeg.ini,BBSettings,FerocityName,NOTFOUND]}
/if (${FerocityName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings FerocityName Ferocity
  /varset FerocityName Ferocity
}
/varset FerocityBuffs ${Ini[BuffBeg.ini,BBSettings,FerocityBuffs,NOTFOUND]}
/if (${FerocityBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings FerocityBuffs "Put the name of your Ferocity Buffs here, and any buffs that block Ferocity separated by |"
  /varset FerocityBuffs "Put the name of your Ferocity Buffs here, and any buffs that block Ferocity separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,FocusBeg,NOTFOUND]}
/varset FocusBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings FocusBeg 0
  /varset FocusBeg 0
}
/varset FocusName ${Ini[BuffBeg.ini,BBSettings,FocusName,NOTFOUND]}
/if (${FocusName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings FocusName Focus
  /varset FocusName Focus
}
/varset FocusBuffs ${Ini[BuffBeg.ini,BBSettings,FocusBuffs,NOTFOUND]}
/if (${FocusBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings FocusBuffs "Put the name of your Focus Buffs here, and any buffs that block Focus separated by |"
  /varset FocusBuffs "Put the name of your Focus Buffs here, and any buffs that block Focus separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,FortBeg,NOTFOUND]}
/varset FortBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings FortBeg 0
  /varset FortBeg 0
}
/varset FortName ${Ini[BuffBeg.ini,BBSettings,FortName,NOTFOUND]}
/if (${FortName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings FortName Fort
  /varset FortName Fort
}
/varset FortBuffs ${Ini[BuffBeg.ini,BBSettings,FortBuffs,NOTFOUND]}
/if (${FortBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings FortBuffs "Put the name of your Fort Buffs here, and any buffs that block Fort separated by |"
  /varset FortBuffs "Put the name of your Fort Buffs here, and any buffs that block Fort separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,HasteBeg,NOTFOUND]}
/varset HasteBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings HasteBeg 0
  /varset HasteBeg 0
}
/varset HasteName ${Ini[BuffBeg.ini,BBSettings,HasteName,NOTFOUND]}
/if (${HasteName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings HasteName Haste
  /varset HasteName Haste
}
/varset HasteBuffs ${Ini[BuffBeg.ini,BBSettings,HasteBuffs,NOTFOUND]}
/if (${HasteBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings HasteBuffs "Put the name of your Haste Buffs here, and any buffs that block Haste separated by |"
  /varset HasteBuffs "Put the name of your Haste Buffs here, and any buffs that block Haste separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,LionBeg,NOTFOUND]}
/varset LionBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings LionBeg 0
  /varset LionBeg 0
}
/varset LionName ${Ini[BuffBeg.ini,BBSettings,LionName,NOTFOUND]}
/if (${LionName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings LionName Lion
  /varset LionName Lion
}
/varset LionBuffs ${Ini[BuffBeg.ini,BBSettings,LionBuffs,NOTFOUND]}
/if (${LionBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings LionBuffs "Put the name of your Lion Items here, and any buffs that block Lion separated by |"
  /varset LionBuffs "Put the name of your Lion Items here, and any buffs that block Lion separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,MightBeg,NOTFOUND]}
/varset MightBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings MightBeg 0
  /varset MightBeg 0
}
/varset MightName ${Ini[BuffBeg.ini,BBSettings,MightName,NOTFOUND]}
/if (${MightName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings MightName Might
  /varset MightName Might
}
/varset MightBuffs ${Ini[BuffBeg.ini,BBSettings,MightBuffs,NOTFOUND]}
/if (${MightBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings MightBuffs "Put the name of your Might Items here, and any buffs that block Might separated by |"
  /varset MightBuffs "Put the name of your Might Items here, and any buffs that block Might separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,OakBeg,NOTFOUND]}
/varset OakBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings OakBeg 0
  /varset OakBeg 0
}
/varset OakName ${Ini[BuffBeg.ini,BBSettings,OakName,NOTFOUND]}
/if (${OakName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings OakName Oak
  /varset OakName Oak
}
/varset OakBuffs ${Ini[BuffBeg.ini,BBSettings,OakBuffs,NOTFOUND]}
/if (${OakBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings OakBuffs "Put the name of your Oak Items here, and any buffs that block Oak separated by |"
  /varset OakBuffs "Put the name of your Oak Items here, and any buffs that block Oak separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,RegenBeg,NOTFOUND]}
/varset RegenBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings RegenBeg 0
  /varset RegenBeg 0
}
/varset RegenName ${Ini[BuffBeg.ini,BBSettings,RegenName,NOTFOUND]}
/if (${RegenName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings RegenName Regen
  /varset RegenName Regen
}
/varset RegenBuffs ${Ini[BuffBeg.ini,BBSettings,RegenBuffs,NOTFOUND]}
/if (${RegenBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings RegenBuffs "Put the name of your Regen Buffs here, and any buffs that block Regen separated by |"
  /varset RegenBuffs "Put the name of your Regen buffs here, and any buffs that block Regen separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,RodBeg,NOTFOUND]}
/varset RodBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings RodBeg 0
  /varset RodBeg 0
}
/varset RodName ${Ini[BuffBeg.ini,BBSettings,RodName,NOTFOUND]}
/if (${RodName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings RodName Rod
  /varset RodName Rod
}
/varset RodBuffs ${Ini[BuffBeg.ini,BBSettings,RodBuffs,NOTFOUND]}
/if (${RodBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings RodBuffs "Put the name of your Rod Items here"
  /varset RodBuffs "Put the name of your Rod Items here"
}
/varset IniString ${Ini[${BBIni},BBSettings,SDBeg,NOTFOUND]}
/varset SDBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings SDBeg 0
  /varset SDBeg 0
}
/varset SDName ${Ini[BuffBeg.ini,BBSettings,SDName,NOTFOUND]}
/if (${SDName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SDName SD
  /varset SDName SD
}
/varset SDBuffs ${Ini[BuffBeg.ini,BBSettings,SDBuffs,NOTFOUND]}
/if (${SDBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SDBuffs "Put the name of your SD Buffs here, and any buffs that block SD separated by |"
  /varset SDBuffs "Put the name of your SD Buffs here, and any buffs that block SD separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,SeasonBeg,NOTFOUND]}
/varset SeasonBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings SeasonBeg 0
  /varset SeasonBeg 0
}
/varset SeasonName ${Ini[BuffBeg.ini,BBSettings,SeasonName,NOTFOUND]}
/if (${SeasonName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SeasonName Season
  /varset SeasonName Season
}
/varset SeasonBuffs ${Ini[BuffBeg.ini,BBSettings,SeasonBuffs,NOTFOUND]}
/if (${SeasonBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SeasonBuffs "Put the name of your Season Buffs here, and any buffs that block Season separated by |"
  /varset SeasonBuffs "Put the name of your Season Buffs here, and any buffs that block Season separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,SenseBeg,NOTFOUND]}
/varset SenseBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings SenseBeg 0
  /varset SenseBeg 0
}
/varset SenseName ${Ini[BuffBeg.ini,BBSettings,SenseName,NOTFOUND]}
/if (${SenseName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SenseName Sense
  /varset SenseName Sense
}
/varset SenseBuffs ${Ini[BuffBeg.ini,BBSettings,SenseBuffs,NOTFOUND]}
/if (${SenseBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SenseBuffs "Put the name of your Sense Buffs here, and any buffs that block Sense separated by |"
  /varset SenseBuffs "Put the name of your Sense Buffs here, and any buffs that block Sense separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,SoEBeg,NOTFOUND]}
/varset SoEBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings SoEBeg 0
  /varset SoEBeg 0
}
/varset SoEName ${Ini[BuffBeg.ini,BBSettings,SoEName,NOTFOUND]}
/if (${SoEName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SoEName SoE
  /varset SoEName SoE
}
/varset SoEBuffs ${Ini[BuffBeg.ini,BBSettings,SoEBuffs,NOTFOUND]}
/if (${SoEBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SoEBuffs "Put the name of your SoE Buffs here, and any buffs that block SoE separated by |"
  /varset SoEBuffs "Put the name of your SoE Buffs here, and any buffs that block SoE separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,SoTBeg,NOTFOUND]}
/varset SoTBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings SoTBeg 0
  /varset SoTBeg 0
}
/varset SoTName ${Ini[BuffBeg.ini,BBSettings,SoTName,NOTFOUND]}
/if (${SoTName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SoTName SoT
  /varset SoTName SoT
}
/varset SoTBuffs ${Ini[BuffBeg.ini,BBSettings,SoTBuffs,NOTFOUND]}
/if (${SoTBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SoTBuffs "Put the name of your SoT Buffs here, and any buffs that block SoT separated by |"
  /varset SoTBuffs "Put the name of your SoT Buffs here, and any buffs that block SoT separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,SVBeg,NOTFOUND]}
/varset SVBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings SVBeg 0
  /varset SVBeg 0
}
/varset SVName ${Ini[BuffBeg.ini,BBSettings,SVName,NOTFOUND]}
/if (${SVName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SVName SV
  /varset SVName SV
}
/varset SVBuffs ${Ini[BuffBeg.ini,BBSettings,SVBuffs,NOTFOUND]}
/if (${SVBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SVBuffs "Put the name of your SV Buffs here, and any buffs that block SV separated by |"
  /varset SVBuffs "Put the name of your SV Buffs here, and any buffs that block SV separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,SymBeg,NOTFOUND]}
/varset SymBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings SymBeg 0
  /varset SymBeg 0
}
/varset SymName ${Ini[BuffBeg.ini,BBSettings,SymName,NOTFOUND]}
/if (${SymName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SymName Sym
  /varset SymName Sym
}
/varset SymBuffs ${Ini[BuffBeg.ini,BBSettings,SymBuffs,NOTFOUND]}
/if (${SymBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings SymBuffs "Put the name of your Sym Buffs here, and any buffs that block Sym separated by |"
  /varset SymBuffs "Put the name of your Sym Buffs here, and any buffs that block Sym separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,TalismanBeg,NOTFOUND]}
/varset TalismanBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings TalismanBeg 0
  /varset TalismanBeg 0
}
/varset TalismanName ${Ini[BuffBeg.ini,BBSettings,TalismanName,NOTFOUND]}
/if (${TalismanName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings TalismanName Talisman
  /varset TalismanName Talisman
}
/varset TalismanBuffs ${Ini[BuffBeg.ini,BBSettings,TalismanBuffs,NOTFOUND]}
/if (${TalismanBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings TalismanBuffs "Put the name of your Talisman Buffs here, and any buffs that block Talisman separated by |"
  /varset TalismanBuffs "Put the name of your Talisman Buffs here, and any buffs that block Talisman separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,VirtBeg,NOTFOUND]}
/varset VirtBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings VirtBeg 0
  /varset VirtBeg 0
}
/varset VirtName ${Ini[BuffBeg.ini,BBSettings,VirtName,NOTFOUND]}
/if (${VirtName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings VirtName Virt
  /varset VirtName Virt
}
/varset VirtBuffs ${Ini[BuffBeg.ini,BBSettings,VirtBuffs,NOTFOUND]}
/if (${VirtBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings VirtBuffs "Put the name of your Virt Buffs here, and any buffs that block Virt separated by |"
  /varset VirtBuffs "Put the name of your Virt Buffs here, and any buffs that block Virt separated by |"
}
/varset IniString ${Ini[${BBIni},BBSettings,VoQBeg,NOTFOUND]}
/varset VoQBeg ${IniString}
/if (${IniString.Equal["NOTFOUND"]}) {
  /ini "${BBIni}" BBSettings VoQBeg 0
  /varset VoQBeg 0
}
/varset VoQName ${Ini[BuffBeg.ini,BBSettings,VoQName,NOTFOUND]}
/if (${VoQName.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings VoQName VoQ
  /varset VoQName VoQ
}
/varset VoQBuffs ${Ini[BuffBeg.ini,BBSettings,VoQBuffs,NOTFOUND]}
/if (${VoQBuffs.Equal["NOTFOUND"]}) {
  /ini "BuffBeg.ini" BBSettings VoQBuffs "Put the name of your VoQ Buffs here, and any buffs that block VoQ separated by |"
  /varset VoQBuffs "Put the name of your VoQ Buffs here, and any buffs that block VoQ separated by |"
}
/return

Sub BuffBegDeclares
/declare AoRBeg      int outer
/declare AvatarBeg   int outer
/declare BegMessage  int outer
/declare BSSBeg      int outer
/declare DoBuffBeg   int outer
/declare DSBeg       int outer
/declare GoDBeg      int outer
/declare FerocityBeg int outer
/declare FocusBeg    int outer
/declare FortBeg     int outer
/declare HasteBeg    int outer
/declare LionBeg     int outer
/declare MightBeg    int outer
/declare OakBeg      int outer
/declare RegenBeg    int outer
/declare RodBeg      int outer
/declare SDBeg       int outer
/declare SeasonBeg   int outer
/declare SenseBeg    int outer
/declare SoEBeg      int outer
/declare SoTBeg      int outer
/declare SVBeg       int outer
/declare SymBeg      int outer
/declare TempVar     int outer
/declare TalismanBeg int outer
/declare VirtBeg     int outer
/declare VoQBeg      int outer
/declare AoRBuffs      string outer
/declare AoRName       string outer
/declare AvatarBuffs   string outer
/declare AvatarName    string outer
/declare BBIni         string outer
/declare BBVersion     string outer 3.3
/declare BegClass      string outer
/declare BegBuff       string outer
/declare BegArray[15]  string outer
/declare BegReturn     string outer
/declare BSSBuffs      string outer
/declare BSSName       string outer
/declare DSBuffs       string outer
/declare DSName        string outer
/declare GoDBuffs      string outer
/declare GoDName       string outer
/declare FerocityBuffs string outer
/declare FerocityName  string outer
/declare FocusBuffs    string outer
/declare FocusName     string outer
/declare FortBuffs     string outer
/declare FortName      string outer
/declare HasteBuffs    string outer
/declare HasteName     string outer
/declare LionBuffs     string outer
/declare LionName      string outer
/declare MightBuffs    string outer
/declare MightName     string outer
/declare OakBuffs      string outer
/declare OakName       string outer
/declare RegenBuffs    string outer
/declare RegenName     string outer
/declare RodBuffs      string outer
/declare RodName       string outer
/declare SDBuffs       string outer
/declare SDName        string outer
/declare SeasonBuffs   string outer
/declare SeasonName    string outer
/declare SenseBuffs    string outer
/declare SenseName     string outer
/declare SoEBuffs      string outer
/declare SoEName       string outer
/declare SoTBuffs      string outer
/declare SoTName       string outer
/declare SVBuffs       string outer
/declare SVName        string outer
/declare SymBuffs      string outer
/declare SymName       string outer
/declare TalismanBuffs string outer
/declare TalismanName  string outer
/declare VirtBuffs     string outer
/declare VirtName      string outer
/declare VoQBuffs      string outer
/declare VoQName       string outer
/declare AoRBegTimer      timer  outer
/declare AvatarBegTimer   timer  outer
/declare BSSBegTimer      timer  outer
/declare BuffBegTimer     timer  outer
/declare DSBegTimer       timer  outer
/declare GoDBegTimer      timer  outer
/declare FerocityBegTimer timer  outer
/declare FocusBegTimer    timer  outer
/declare FortBegTimer     timer  outer
/declare HasteBegTimer    timer  outer
/declare LionBegTimer     timer  outer
/declare MightBegTimer    timer  outer
/declare OakBegTimer      timer  outer
/declare RegenBegTimer    timer  outer
/declare RodBegTimer      timer  outer
/declare SDBegTimer       timer  outer
/declare SeasonBegTimer   timer  outer
/declare SenseBegTimer    timer  outer
/declare SoEBegTimer      timer  outer
/declare SoTBegTimer      timer  outer
/declare SVBegTimer       timer  outer
/declare SymBegTimer      timer  outer
/declare TalismanBegTimer timer  outer
/declare VirtBegTimer     timer  outer
/declare VoQBegTimer      timer  outer
/if (${BBVersion.NotEqual[${Ini[BuffBeg.ini,BBSettings,Version]}]}) /call BBAliases
/call SetupBBIni
/return

Sub BBAliases
/echo BuffBeg version mismatch detected, reloading aliases
/squelch /alias /aorbeg      /echo SetAoRBeg
/squelch /alias /avatarbeg   /echo SetAvatarBeg
/squelch /alias /bssbeg      /echo SetBSSBeg
/squelch /alias /buffbeg     /echo SetBuffBeg
/squelch /alias /dsbeg       /echo SetDSBeg
/squelch /alias /godbeg      /echo SetGoDBeg
/squelch /alias /ferocitybeg /echo SetFerocityBeg
/squelch /alias /focusbeg    /echo SetFocusBeg
/squelch /alias /fortbeg     /echo SetFortBeg
/squelch /alias /hastebeg    /echo SetHasteBeg
/squelch /alias /lionbeg     /echo SetLionBeg
/squelch /alias /mightbeg    /echo SetMightBeg
/squelch /alias /oakbeg      /echo SetOakBeg
/squelch /alias /regenbeg    /echo SetRegenBeg
/squelch /alias /rodbeg      /echo SetRodBeg
/squelch /alias /sdbeg       /echo SetSDBeg
/squelch /alias /svbeg       /echo SetSVBeg
/squelch /alias /seasonbeg   /echo SetSeasonBeg
/squelch /alias /sensebeg    /echo SetSenseBeg
/squelch /alias /soebeg      /echo SetSoEBeg
/squelch /alias /sotbeg      /echo SetSoTBeg
/squelch /alias /symbeg      /echo SetSymBeg
/squelch /alias /talismanbeg /echo SetTalismanBeg
/squelch /alias /virtbeg     /echo SetVirtBeg
/squelch /alias /voqbeg      /echo SetVoQBeg
/ini "BuffBeg.ini" "BBSettings" "Version" "${BBVersion}"
/return
BuffBeg.ini

Code: Select all

[BBSettings]
AoRName=BoR
AoRBuffs=Aura of Devotion|Blessing of Devotion|Aura of Reverence|Blessing of Reverence|Chaos Affliction|Cloud of Attrition|
BSSName=BSS
BSSBuffs=Brell's Stalwart Shield|Brell's Brawny Bulwark|Strength of Tunare|Strength of the Hunter|Spiritual Vitality|Spiritual Vigor|
DSName=Damage Shield
DSBuffs=Legacy of Bracken|Shield of Bracken|Circle of Nettles|Nettle Shield|Circle of Fireskin|Fireskin|Maelstrom of Ro|Flameshield of Ro
FocusName=Focus
FocusBuffs=Wunshi's Focusing|Focus of the Seventh|Focus of Soul|Talisman of Wunshi
FortName=Fortitude
FortBuffs=Spirit of Fortitude|Talisman of Fortitude
HasteName=Haste
HasteBuffs=Speed of Salik|Hastening of Salik|Vallon's Quickening|Speed of Vallon|Talisman of Alacrity|Swift like the Wind|
OakName=Oak
OakBuffs=Protection of the Nine|Steeloak Skin|Blessing of Steeloak|Blessing of the Nine|Virtue|Hand of Virtue|Conviction|Hand of Conviction|
RegenName=Regen
RegenBuffs=Blessing of Oak|Oaken Vigor|Blessing of Replenishment|Replenishment|Spirit of Perseverance|Talisman of Perseverance|Chaotica|
RodName=Mod Rod
RodBuffs=Rod of Mystical Transvergance|Summoned: Modulating Rod|
SDName=SD/SA
SDBuffs=Spiritual Dominion|Spiritual Ascendance|Epoch Conviction|
SenseName=Sense
SenseBuffs=Spirit of Sense|Talisman of Sense|
SoTName=SoT
SoTBuffs=Strength of Tunare|Strength of the Hunter|Brell's Stalwart Shield|Brell's Brawny Bulwark|Spiritual Vitality|Spiritual Vigor|
SVName=SV
SVBuffs=Strength of Tunare|Strength of the Hunter|Brell's Stalwart Shield|Brell's Brawny Bulwark|Spiritual Vitality|Spiritual Vigor|
SymName=Symbol
SymBuffs=Kazad`s Mark|Symbol of Kazad|Symbol of Balikor|Balikor's Mark|Virtue|Hand of Virtue|Conviction|Hand of Conviction|Symbol of Jeron|Jeron's Mark|Symbol of Marzin|
VirtName=Virtue
VirtBuffs=Hand of Conviction|Conviction|Hand of Virtue|Virtue|Blessing of the Nine|Blessing of Steeloak|Steeloak Skin|Protection of the Nine|
VoQName=Clairvoyance
VoQBuffs=Voice of Quellious|Tranquility|Koadic's Endless Intellect|Clairvoyance|Destructive Will|Horrifying Affliction|Voice of Clairvoyance|Discordant Feedback|Plagued Earth|
SeasonName=Seasons
SeasonBuffs=Protection of Seasons|Malo|Mala|Malos|Malosinia|Malosini|Malosi|Strike of Innoruuk|
SoEName=SoE
SoEBuffs=Spirit of Eagle|Flight of Eagles|Share Form of the Great Wolf|Feral Pack|Share Wolf Form|
TalismanName=Tribunal
TalismanBuffs=Talisman of the Tribunal|Talisman of Epuration|Gaze of Talkor|
AvatarName=Avatar
AvatarBuffs=Champion|Ferine Avatar|Ancient Feral Avatar|Primal Avatar|Avatar|Share Form of the Great Wolf|Feral Pack|Night's Dark Terror|Boon of the Garou|Share Wolf Form|
FerocityName=Ferocity
FerocityBuffs=Ferocity of Irionu|Ferocity|Savagery|Quivering Nightmares|Insidious Retrogression|
LionName=Lion
LionBuffs=Spirit of Might|Lion's Strength|
GoDName=GoD
GoDBuffs=Guard of Druzzil|Assail of Innoruuk|Group Resist Magic|
MightName=Might
MightBuffs=Spirit of Might|Lion's Strength|
Last edited by A_Druid_00 on Sat Jun 25, 2005 11:49 pm, edited 28 times in total.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Post by fantum409 » Mon Nov 22, 2004 6:16 pm

nice to see someone doing something with that. I've lost momentum with most of my macros due to a busy schedule in boring old RL.

thumbs up A_Druid_00

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Mon Nov 22, 2004 6:36 pm

Thanks for giving me the original framework man. I'm not big on original thinking, I can have all the data vars laid out in front of me and not come up with anything useful. But, if you give me a basic idea, I tend to run with it until I've beat it into the ground.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Mon Nov 22, 2004 10:20 pm

How many times do I have to beat you people over the head with a stick to get you to use /for loops and/or subroutines for redundant code?

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Tue Nov 23, 2004 12:14 am

took me a while to realize how powerful /for was

Welcome to the world of being a newb macro scripter haha ><

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Tue Nov 23, 2004 6:17 am

I'm always open to suggestions and examples of how to make my code look cleaner.

Code: Select all

How many times do I have to beat you people over the head with a stick to get you to use /for loops and/or subroutines for redundant code?
Sure was helpful, I'll get right on it
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Fri Dec 10, 2004 4:53 pm

Massive rewrite of this inc... take a look and let me know what you think
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Fri Dec 10, 2004 5:27 pm

that's purty
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Fri Dec 10, 2004 5:44 pm

I thought about just using an array for Buffname, etc. But, there's a few of them that didn't quite fit the mold, like Mod Rods and ones like Haste/Regen/DS that can be handled by multiple classes, and I didn't feel like coding around them. Overall it makes botting that much easier cuz I don't have to keep looking at Bob the warrior's buffs every 5 mins while I'm botting him to see if a buff dropped.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Mon Jan 17, 2005 7:36 pm

Added a bunch of new buffs to beg for. Enjoy.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

Druidpwn
a lesser mummy
a lesser mummy
Posts: 35
Joined: Tue Jan 18, 2005 7:21 pm

Post by Druidpwn » Tue Jan 18, 2005 7:26 pm

/varset BegArray[6] Xxx tells you, ${BegBuff} asshat!"
/varset BegArray[7] "Give me ${BegBuff} and I love you long time"
/varset BegArray[15] "There's nothing like the smell of ${BegBuff} in the morning!!"
Thanks for the laugh, and the awesome macro's. :)

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Tue Jan 18, 2005 8:43 pm

Here's a HUD I came up with to complement the inc. I've got it positioned so it doesn't get in the way of the RaidDruid HUD if you keep multiple HUDs loaded with CR4zyb4rd's HUD plugin.

Code: Select all

[BuffBeg]
BuffBegOn=     3,150,000,000,255,000,${If[${DoBuffBeg},Buff Begging,]}
BuffbegOff=    3,150,000,255,000,000,${If[${DoBuffBeg},,Buff Begging]}
AoRBegOn=      3,150,010,000,255,000,${If[${AoRBeg},AoR,]}
AoRBegOff=     3,150,010,255,000,000,${If[${AoRBeg},,AoR]}
BSSBegOn=      3,150,020,000,255,000,${If[${BSSBeg},BSS,]}
BSSBegOff=     3,150,020,255,000,000,${If[${BSSBeg},,BSS]}
DSBegOn=       3,150,030,000,255,000,${If[${DSBeg},DS,]}
DSBegOff=      3,150,030,255,000,000,${If[${DSBeg},,DS]}
GoDBegOn=      3,150,040,000,255,000,${If[${GoDBeg},GoD,]}
GoDBegOff=     3,150,040,255,000,000,${If[${GoDBeg},,GoD]}
OakBegOn=      3,150,050,000,255,000,${If[${OakBeg},Oak,]}
OakBegOff=     3,150,050,255,000,000,${If[${OakBeg},,Oak]}
SDBegOn=       3,150,060,000,255,000,${If[${SDBeg},SD,]}
SDBegOff=      3,150,060,255,000,000,${If[${SDBeg},,SD]}
SoEBegOn=      3,150,070,000,255,000,${If[${SoEBeg},SoE,]}
SoEBegOff=     3,150,070,255,000,000,${If[${SoEBeg},,SoE]}
SoTBegOn=      3,150,080,000,255,000,${If[${SoTBeg},SoT,]}
SoTBegOff=     3,150,080,255,000,000,${If[${SoTBeg},,SoT]}
SVBegOn=       3,150,090,000,255,000,${If[${SVBeg},SV,]}
SVBegOff=      3,150,090,255,000,000,${If[${SVBeg},,SV]}
SymBegOn=      3,150,100,000,255,000,${If[${SymBeg},Symbol,]}
SymBegOff=     3,150,100,255,000,000,${If[${SymBeg},,Symbol]}
VirtBegOn=     3,150,110,000,255,000,${If[${VirtBeg},Virtue,]}
VirtBegOff=    3,150,110,255,000,000,${If[${VirtBeg},,Virtue]}
VoQBegOn=      3,150,120,000,255,000,${If[${VoQBeg},VoQ,]}
VoQBegOff=     3,150,120,255,000,000,${If[${VoQBeg},,VoQ]}
AvatarBegOn=   3,190,010,000,255,000,${If[${AvatarBeg},Avatar,]}
AvatarBegOff=  3,190,010,255,000,000,${If[${AvatarBeg},,Avatar]}
FerocityBegOn= 3,190,020,000,255,000,${If[${FerocityBeg},Ferocity,]}
FerocityBegOff=3,190,020,255,000,000,${If[${FerocityBeg},,Ferocity]}
FocusBegOn=    3,190,030,000,255,000,${If[${FocusBeg},Focus,]}
FocusBegOff=   3,190,030,255,000,000,${If[${FocusBeg},,Focus]}
FortBegOn=     3,190,040,000,255,000,${If[${FortBeg},Fortitude,]}
FortBegOff=    3,190,040,255,000,000,${If[${FortBeg},,Fortitude]}
HasteBegOn=    3,190,050,000,255,000,${If[${HasteBeg},Haste,]}
HasteBegOff=   3,190,050,255,000,000,${If[${HasteBeg},,Haste]}
LionBegOn=     3,190,060,000,255,000,${If[${LionBeg},Lion,]}
LionBegOff=    3,190,060,255,000,000,${If[${LionBeg},,Lion]}
MightBegOn=    3,190,070,000,255,000,${If[${MightBeg},Might,]}
MightBegOff=   3,190,070,255,000,000,${If[${MightBeg},,Might]}
RegenBegOn=    3,190,080,000,255,000,${If[${RegenBeg},Regen,]}
RegenBegOff=   3,190,080,255,000,000,${If[${RegenBeg},,Regen]}
RodBegOn=      3,190,090,000,255,000,${If[${RodBeg},Mod Rods,]}
RodBegOff=     3,190,090,255,000,000,${If[${RodBeg},,Mod Rods]}
SeasonBegOn=   3,190,100,000,255,000,${If[${SeasonBeg},Season,]}
SeasonBegOff=  3,190,100,255,000,000,${If[${SeasonBeg},,Season]}
SenseBegOn=    3,190,110,000,255,000,${If[${SenseBeg},Sense,]}
SenseBegOff=   3,190,110,255,000,000,${If[${SenseBeg},,Sense]}
TalismanBegOn= 3,190,120,000,255,000,${If[${TalismanBeg},Talisman,]}
TalismanBegOff=3,190,120,255,000,000,${If[${TalismanBeg},,Talisman]}
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Sat Jun 25, 2005 11:49 pm

Minore fix
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Sat Jul 02, 2005 6:07 pm

Buffbeg's fucked for now unless someone can figure out why ${NearestSpawn[PC ${BegClass} guild]} doesn't work right. I've tried every way I can think of to evaluate this line without string and it either errors out, or leaves me sending tells to NULL. I'm tired of sending tells to NULL on my main character, so if someone has a junk account to figure it out on, please feel free.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]