Check out the writ creator in the loothandler.lua file. IIRC there's a function in there to get the name of the current loot window. I use it to checknif the container is a writ reward container
Edit: It's GetLootTargetInfo()
Last edited by Dolgubon : 06/16/17 at 12:14 PM.
|