The way I do it is to look at the chatparse sub and read the triggers. They are in [], and are followed by what each will do, like so:
Code: Select all
/if (${ChatText.Equal[bor]}) {look after that and read about what it will do:
Code: Select all
/call FindExactPC ${Sender}
/if (${Macro.Return.NotEqual[TARGET_SUCCESS]}) /return
/if (${edbuffItem.Name.NotEqual[NULL]}) /call EquipItem "${edbuffitem}"
/if (${edbuffItem.Name.NotEqual[NULL]}) /varset olditem ${Macro.Return}
/if (${FindItem[Breastplate of Vengeful Fury].ID}) /call Cast "Breastplate of Vengeful Fury" item
/if (!${FindItem[Breastplate of Vengeful Fury].ID}) /call Cast "${spellhastebuff}" gem8 5s
/if (${edbuffItem.Name.NotEqual[NULL]}) /call EquipItem ${olditem}
}If you get the hang of this, its easy enough to figure out the triggers, and add your own custom chat events.





