This is a list of all functions available from the functions.lua and some from the MalowBotLK.lua file.


  • mb_OnUpdate() This is the loop function which is automatically executed every 0.1 seconds, if there are sufficient fps.


Communication[edit | edit source]


Macro[edit | edit source]


Units[edit | edit source]


Class related[edit | edit source]


Buffs/Preparation[edit | edit source]


Combat[edit | edit source]

  • mb_CanCastSpell(spell, unit, withinNextGlobal) Checks if there's no cooldown and if the spell use useable (have mana to cast it), and that if we're moving that it doesn't have a cast time. Unit is optional, if provided it will check that the spell can be cast on the unit (that it's a valid target and is in range)


Movement[edit | edit source]


Gear checks and QOL (only Honey's fork)[edit | edit source]

  • mb_Prospect_auto() Toggles the toon auto prospecting any and all Cobalt and Saronite Ore inside its inventory or personal bank if opened
  • mb_Disenchant_auto() Toggles the toon auto disenchanting any and all green armor/weapons inside its inventory or personal bank if opened
  • mb_forceMovement = 1 If set to 1 it calls the mb_GoToPosition_Update() function in every onUpdate. Useful for bosses like Heigan so the player just sets a position with mb_GoToPosition_SetDestination(x, y, acceptedDistance, preventAutomaticMovementDisabling)
  • mb_CheckStatCaps() Does the math which is required for the functions below.
  • mb_PrintAllCaps() When called with /run it prints all stat caps (AP, Expertise, Hit and Defense) and the progress for all toons in chat. Requires init. Avoid toons in "free" mode when using this.
  • mb_PrintHitCaps() When called with /run it prints all hit caps and the progress for all toons in chat. Requires init. Avoid toons in "free" mode when using this.
  • mb_PrintFailedCaps() When called with /run it prints failed caps (hit+defense) and the progress for all toons in chat. Requires init. Avoid toons in "free" mode when using this.
  • mb_FindMissingGems() Checks the gear on all toons for empty sockets and prompts in chat if any are found. Requires init. Avoid toons in "free" mode when using this. Also checks for missing eternal belt buckles on all toons as well as missing prismatic socket in hand and wrist items if the toon is a blacksmith.
  • mb_FindMissingEnchants() Checks the gear on all toons for empty sockets and prompts in chat if any are found. Requires init. Avoid toons in "free" mode when using this. Also checks for missing ring enchants if the toon is an enchanter.
Community content is available under CC-BY-SA unless otherwise noted.