Lua API Reference: Bot (118 methods)

Browse the complete Lua API documentation for the Bot class. Search through 118 methods and 247 events to find the exact function signatures, parameters, and usage examples you need for your EQ-Emulator scripts.

Methods

bot:AddBotItem(slot_id, item_id) # void
bot:AddBotItem(slot_id, item_id, charges) # void
bot:AddBotItem(slot_id, item_id, charges, attuned) # void
bot:AddBotItem(slot_id, item_id, charges, attuned, augment_one) # void
bot:AddBotItem(slot_id, item_id, charges, attuned, augment_one, augment_two) # void
bot:AddBotItem(slot_id, item_id, charges, attuned, augment_one, augment_two, augment_three) # void
bot:AddBotItem(slot_id, item_id, charges, attuned, augment_one, augment_two, augment_three, augment_four) # void
bot:AddBotItem(slot_id, item_id, charges, attuned, augment_one, augment_two, augment_three, augment_four, augment_five) # void
bot:AddBotItem(slot_id, item_id, charges, attuned, augment_one, augment_two, augment_three, augment_four, augment_five, augment_six) # void
bot:AddItem(item_table) # void
bot:ApplySpell(spell_id) # void
bot:ApplySpell(spell_id, duration, level) # void
bot:ApplySpell(spell_id, duration, level, allow_pets) # void
bot:ApplySpell(spell_id, duration) # void
bot:ApplySpellGroup(spell_id, duration) # void
bot:ApplySpellGroup(spell_id, duration, level, allow_pets) # void
bot:ApplySpellGroup(spell_id, duration, level) # void
bot:ApplySpellGroup(spell_id) # void
bot:ApplySpellRaid(spell_id, duration) # void
bot:ApplySpellRaid(spell_id) # void
bot:ApplySpellRaid(spell_id, duration, level, allow_pets, is_raid_group_only) # void
bot:ApplySpellRaid(spell_id, duration, level, allow_pets) # void
bot:ApplySpellRaid(spell_id, duration, level) # void
bot:Camp() # void
bot:Camp(save_to_database) # void
bot:ClearDisciplineReuseTimer(spell_id) # void
bot:ClearDisciplineReuseTimer() # void
bot:ClearItemReuseTimer() # void
bot:ClearItemReuseTimer(item_id) # void
bot:ClearSpellRecastTimer() # void
bot:ClearSpellRecastTimer(spell_id) # void
bot:CountAugmentEquippedByID(item_id) # uint32
bot:CountBotItem(item_id) # uint32
bot:CountItemEquippedByID(item_id) # uint32
bot:DeleteBot() # void
bot:DeleteBucket(bucket_name) # void
bot:Escape() # void
bot:Fling(target_x, target_y, target_z, ignore_los, clip_through_walls) # void
bot:Fling(value, target_x, target_y, target_z, ignore_los, clip_through_walls) # void
bot:Fling(value, target_x, target_y, target_z, ignore_los) # void
bot:Fling(value, target_x, target_y, target_z) # void
bot:Fling(target_x, target_y, target_z, ignore_los) # void
bot:Fling(target_x, target_y, target_z) # void
bot:GetAugmentAt(slot_id, augment_index) # Lua_ItemInst
bot:GetAugmentIDAt(slot_id, augment_index) # int
bot:GetAugmentIDsBySlotID(slot_id) # object
bot:GetBaseAGI() # int
bot:GetBaseCHA() # int
bot:GetBaseDEX() # int
bot:GetBaseINT() # int
bot:GetBaseSTA() # int
bot:GetBaseSTR() # int
bot:GetBaseWIS() # int
bot:GetBotID() # uint32
bot:GetBotItem(slot_id) # Lua_ItemInst
bot:GetBotItemIDBySlot(slot_id) # uint32
bot:GetBucket(bucket_name) # std::string
bot:GetBucketExpires(bucket_name) # std::string
bot:GetBucketRemaining(bucket_name) # std::string
bot:GetClassAbbreviation() # std::string
bot:GetDisciplineReuseTimer() # uint32
bot:GetDisciplineReuseTimer(spell_id) # uint32
bot:GetExpansionBitmask() # int
bot:GetGroup() # Lua_Group
bot:GetHealAmount() # int
bot:GetInstrumentMod(spell_id) # int
bot:GetItemAt(Items) # Lua_ItemInst
bot:GetItemIDAt(slot_id) # int
bot:GetItemReuseTimer() # uint32
bot:GetItemReuseTimer(item_id) # uint32
bot:GetOwner() # Lua_Mob
bot:GetRaceAbbreviation() # std::string
bot:GetRawItemAC() # int
bot:GetSpellDamage() # int
bot:GetSpellRecastTimer() # uint32
bot:GetSpellRecastTimer(spell_id) # uint32
bot:HasAugmentEquippedByID(item_id) # bool
bot:HasBotItem(item_id) # int16
bot:HasBotSpellEntry(spellid) # bool
bot:HasItemEquippedByID(item_id) # bool
bot:IsGrouped() # bool
bot:IsSitting() # bool
bot:IsStanding() # bool
bot:OwnerMessage(message) # void
bot:RaidGroupSay(message) # void
bot:ReloadBotDataBuckets() # bool
bot:ReloadBotOwnerDataBuckets() # bool
bot:ReloadBotSpellSettings() # void
bot:ReloadBotSpells() # bool
bot:RemoveBotItem(item_id) # void
bot:SendPayload(payload_id) # void
bot:SendPayload(payload_id, payload_value) # void
bot:SendSpellAnim(target_id, spell_id) # void
bot:SetBucket(bucket_name, bucket_value, expiration) # void
bot:SetBucket(bucket_name, bucket_value) # void
bot:SetDisciplineReuseTimer(spell_id) # void
bot:SetDisciplineReuseTimer(spell_id, reuse_timer) # void
bot:SetExpansionBitmask(expansion_bitmask) # void
bot:SetItemReuseTimer(item_id) # void
bot:SetItemReuseTimer(item_id, reuse_timer) # void
bot:SetSpellDuration(spell_id, duration) # void
bot:SetSpellDuration(spell_id, duration, level) # void
bot:SetSpellDuration(spell_id) # void
bot:SetSpellDuration(spell_id, duration, level, allow_pets) # void
bot:SetSpellDurationGroup(spell_id, duration, level, allow_pets) # void
bot:SetSpellDurationGroup(spell_id) # void
bot:SetSpellDurationGroup(spell_id, duration) # void
bot:SetSpellDurationGroup(spell_id, duration, level) # void
bot:SetSpellDurationRaid(spell_id, duration, level, allow_pets) # void
bot:SetSpellDurationRaid(spell_id) # void
bot:SetSpellDurationRaid(spell_id, duration) # void
bot:SetSpellDurationRaid(spell_id, duration, level) # void
bot:SetSpellDurationRaid(spell_id, duration, level, allow_pets, is_raid_group_only) # void
bot:SetSpellRecastTimer(spell_id, recast_delay) # void
bot:SetSpellRecastTimer(spell_id) # void
bot:Signal(signal_id) # void
bot:Sit() # void
bot:Stand() # void