I think that you're thinking of the quest started from Claw of Anger, which can only be looted and completed once. The quest that this macro queries the server for is a weekly quest that you have no control over when you turn it in, because it happens automatically when you kill Sha of Anger and get either loot/gold.