#BuffID is the icon ID of the buff selected by #BuffIndex. It is a plain
number, not a Sys26 ID: Bless is 30018 ($7542). Pass it to ScanBuffs to look for one buff only:
scanbuffs 30018.
Reads N/A when no buff is selected: the buff bar is closed or empty, the client’s buff bar layout is not
supported, or the selected buff has left the bar since the last ScanBuffs or
set #BuffIndex.
Example
Section titled “Example”scanbuffsfor %i 1 #BuffCnt{ set #BuffIndex %i if #BuffID = 30018 display ok Blessed: #BuffTime s left}halt