for doodads 'near' you, use getDoodads().
to check if it's an Azalea, use .name or .phaseID on the DoodadObject.
for things about what's happening to your char, it's mostly on the 'me' attribute:
for example, me.isCasting or me.castEndTime.
Remember to get IntelliSense working, or it's going...