Is there any way to not follow when I'm drinking besides using the

/jamba-follow strobeoff all
/in 30 jamba-follow strobeon focus??
/use conjured mana bisket

Quote Originally Posted by 'Jafula',index.php?page=Thread&postID=143487#post1 43487
Ah, zanthors follow strobing. I think you have the best way of doing what you want in that macro
Ok I fixed this real quick... It's dirty and my first lua script lol. I'm sure you can come up with a more elegant way to integrate this, but this solution works great and solves my slaves from moving when I start drinking.... The /in workaround causes a lot of bad side effects, especially when I'm trying to blaze through a dungeon fast.

Code:
-------------------------------------------------------------------------------------------------------------
-- JambaFollow:FollowTarget
-- Follow the target specified.
-------------------------------------------------------------------------------------------------------------
function JambaFollow:FollowTarget( target )

    -- Set the jamba set this flag toggle, so not to complain about follow broken after combat.
    if (self.db.autoFollowAfterCombat == true) or (self.followingStrobing == true) then
        self.jambaSetFollowTarget = true
    end

    -- Check if drinking   
    drinking = 0

     for i=1,40 do local name =UnitBuff("player",i,1);
         if name == "Drink" then 
            drinking = 1
        end 
    end
	
    -- Follow unit only works when in a party or raid for resolving against player names.
    -- Do not follow if drinking
    if drinking == 0 then
        FollowUnit( target )
    end
	
    -- Remember this unit as the current follow target.
    self.currentFollowTarget = target
	
     -- Update the character follow status to false for this leader character.
    self.comms:UpdateCharacterFollowStatus( self.currentFollowTarget, false )

end