-- First find mount
-- Look in partner bag first
if RoMScript("PartnerFrame_GetPartnerCount(2)") > 0 then
-- There is a mount in the bag. Assign the mountmethod.
mountMethod = "partner"
elseif inventory then -- Make sure inventory has been mapped.
mount = inventory:getMount();
if mount then
mountMethod = "inventory"
else
inventory:useItem(203033); -- horse ticket
inventory:update()
mount = inventory:getMount();
if mount then
mountMethod = "inventory"
end
end
end
but not sure where to put it or where it is to edit it.. have a few alts that do dailies with a mount but don't have one and i would like for the bot to auto use the tickets if a mount or perma mount isn't there.
in the onload of the script you can just do this, assuming none of the chars have perm mounts and if they did then you wouldn't have a mount ticket in inventory.