totem

Returns true if the totem 'spell name' is currently active, false otherwise.

totem('spell name') : boolean

Example

if not totem('Healing Stream Totem') and health() < 80 then
return cast(HealingStreamTotem)
end
 
if not totem('ConcentrationAura') then
return cast(Concentration)
end

Note

This applies to Paladin concecration and Druid mushroom as well. Remember, to check the spellIDs of each before assuming they are the same.