I posted this in The pub Crawl post under Strategies but wanted to increase it's exposure to other ppl who might want this.
This small mac loops thru your grp and if grp members are in-zone, and PCs (excluding mercs etc), will send them a command (of your choice):
Example from The Pub Crawl post to have grp members cast Drunkard's Stein (replace the echo line in mac):
This can be any valid command, any spell/AA/disc/clicky etc.
You can set the mac up in a Hotkey as such:
*End cmd optional obviously - or you could just end your mac (not the whole grps) with simply /end*
If you wanted to use raw EQBC and not run a mac (as in one was already in use and didn't want to interrupt it):
Due to the 5 line limit of EQ's macro builder, this excludes yourself so make another Hotkey if you wanted to include you with a normal non-evaluated command such as /casting "Drunkard's Stein".
This small mac loops thru your grp and if grp members are in-zone, and PCs (excluding mercs etc), will send them a command (of your choice):
Rich (BB code):
| MQ2ZonePCCmd.mac
| 2016 - Incognito
| This mac will check everyone in your group to see if they are in the same zone, a PC, and send them a command
Sub Main
/declare x int local
/for x 0 to ${Group} |start at 1 instead of 0 to exclude yourself
/If (!${Group.Member[${x}].OtherZone} && ${Group.Member[${x}].Type.Equal[PC]}) {
/echo sending cmd to ${Group.Member[${x}].Name} ${Group.Member[${x}].Type}
} else {
/echo NOT sending cmd to ${Group.Member[${x}].Name} ${Group.Member[${x}].Type}
}
/next x
/return
Example from The Pub Crawl post to have grp members cast Drunkard's Stein (replace the echo line in mac):
Rich (BB code):
/bct ${Group.Member[${x}].Name} //casting "Drunkard's Stein"
This can be any valid command, any spell/AA/disc/clicky etc.
You can set the mac up in a Hotkey as such:
Rich (BB code):
/bcga //end
/mac MQ2ZonePCCmd
*End cmd optional obviously - or you could just end your mac (not the whole grps) with simply /end*
If you wanted to use raw EQBC and not run a mac (as in one was already in use and didn't want to interrupt it):
Rich (BB code):
/bct ${If[${Group.Member[1].Type.Equal[PC]},${Group.Member[1].Name} ${If[!${Group.Member[1].OtherZone}, //casting "Drunkard's Stein",]},]}
/bct ${If[${Group.Member[2].Type.Equal[PC]},${Group.Member[2].Name} ${If[!${Group.Member[2].OtherZone}, //casting "Drunkard's Stein",]},]}
/bct ${If[${Group.Member[3].Type.Equal[PC]},${Group.Member[3].Name} ${If[!${Group.Member[3].OtherZone}, //casting "Drunkard's Stein",]},]}
/bct ${If[${Group.Member[4].Type.Equal[PC]},${Group.Member[4].Name} ${If[!${Group.Member[4].OtherZone}, //casting "Drunkard's Stein",]},]}
/bct ${If[${Group.Member[5].Type.Equal[PC]},${Group.Member[5].Name} ${If[!${Group.Member[5].OtherZone}, //casting "Drunkard's Stein",]},]}
Due to the 5 line limit of EQ's macro builder, this excludes yourself so make another Hotkey if you wanted to include you with a normal non-evaluated command such as /casting "Drunkard's Stein".



