<If Condition="HasItem(141605) && Me.BagItems.FirstOrDefault(h => h.Entry == 141605).CooldownTimeLeft.TotalMilliseconds == 0">
<CustomBehavior File="UseItem" ItemId="141605" WaitTime="10100" /> <!-- Use and wait 10 seconds -->
</If>
I'm not sure how they do it, but here's a way you can use it.
Code:<If Condition="HasItem(141605) && Me.BagItems.FirstOrDefault(h => h.Entry == 141605).CooldownTimeLeft.TotalMilliseconds == 0"> <CustomBehavior File="UseItem" ItemId="141605" WaitTime="10100" /> <!-- Use and wait 10 seconds --> </If>
Well yeah, assumed you went to the "Getting started" thread first to see how to set one up. Once you see the getting started stuff, the rest is just filling in the blanks.