blazeholiday (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
works,
BUT, when you are running a group that is Random loot, players always have on loot macros. So not worth anything. And this is not 100% Works about 75% of the time, same with lottery.
Thats odd, it doesnt work for me on lottery but works 100% of the time on random loot if I can do it before somebody else loots.