This small AddOn auto Enable/Disable guild repair for certain guild ranks with a specific amount when the player, that must be the Guild Master, enter/leaves a raid instance.
Basiclly you could select in wich instances this add on will work, some guild ranks that will repair and gold per day allowed.
Onces is setup just join a raid group a enter in a raid instance to auto activate the guild repair, when ever you leave the raid group the guild repair should be disable.
You could modify option in blizzard AddOn Options or with the slash command /agr or /AutoGuildRepair.
You could manually enable/disable guild repair manually with the slash command /grpair
Thanks to all Soulbound Horde Guild in Zul'Jin Eur Server