Moderator: MacroQuest Developers



Code: Select all
Sub Do-rb
/declare counter local
/if n "@Param1"=="all" {
/for counter 1 to 15
if ("$char(buff,@counter)"!="NULL" {
/call ChatOut 2 @MasterName "Buff: $char(buff,@counter) Duration left: $char(buff,@counter,durationsecs)"
}
/next counter
} else {
/call ChatOut 1 @MasterName "Buffs: $char(buff,1), $char(buff,2), $char(buff,3), $char(buff,4), $char(buff,5), $char(buff,6), $char(buff,7), $char(buff,8), $char(buff,9), $char(buff,10), $char(buff,11), $char(buff,12), $char(buff,13), $char(buff,14), $char(buff,15)"
}
/return
You can also use the "watchtarget" command to heal a target when needed.dawolf wrote:actually my problem was i thought autoheal would autoheal the master regardless of group status which is incorrect after through review of the macro, i see that in order to use the autoheal function you have to be grouped
Code: Select all
/tell clericbot watchtarget targetnameCode: Select all
/tell clericbot resetwatch