cooldown

Returns the time until a particular spell can be ast or 0 as an integer.

cooldown([spellID]) : boolean
1. SpellID from the class spellbooks

Example

if cooldown(IcyVeins) and mybuttons.CoolDowns == true then
return cast(IcyVeins)
end
if cooldown(32263) and mybuttons.CoolDowns == true then
return cast(32263)
end

Note

This uses GetSpellCooldown(spellID) and GetTime().