Hi, my name is mostlynick and I specialize in one-button macros to help me facilitate my addiction for multiboxing.
I prepend all my slave toons’ macros with the following to ensure consistency and ease of use:
/script AcceptGroup();
/script AcceptTrade();
/script AcceptQuest();
/click [nocombat] GroupLootFrame1PassButton
/click [nocombat] GroupLootFrame2PassButton
/click [nocombat] GroupLootFrame3PassButton
/click [nocombat] GroupLootFrame4PassButton
/click LFDRoleCheckPopupAcceptButton
/click LFDDungeonReadyDialogEnterDungeonButton
This lets my toons automatically accept trades, group invites, quests, and LFG pops, and automatically pass on all loot when out of combat. Passing while in combat will usually cause client-side lag, but your mileage may vary. I recommend keeping the GroupLootFrame interaction gated by [nocombat]. Note, however, that the GroupLootFrame click interactions throw Lua errors if the frame isn’t visible, so best keep your Lua errors off!