I posted this already on page 14 of this thread, but didn't realize that links to other forums were not a good idea since they apparently get deleted after a period of non-use.

Here is a repost with the code as well as a link to a download of a module that demonstrates the code.

1. Script Name: Party Loot Notification

2. What it does: Notifies all members in a party of any looting that happens.

3. Notes

Put this in your Module OnAcquiredItem event.

With changing the flags at the beginning, you can log to file, send to DM, send Magic item names or not, send to player or not etc.

Play around with the flags till you get what you want...

enjoy!

Couple gotchas...

Since GetModuleItemAcquiredFrom is broken, I had to write my own script which can give erroneous results...sorry. Also GetFacing is broken, so I had to write a fix for it.

The script wont get triggered if you already have one of the item you are getting, like a stack of potions, gold gems etc.

4. The Script:

grrrrrrrr...

I hate this too many characters without spaces error that I always seem to get, I'm sorry that I can't post the code here, please Click Here





To download a module that demonstrates this code Click Here


enjoy!

_________________
Server Name: Midnight Odyssey
Genre: Action
I Cant Find My Sheep

[ Edited By johnymutton: Sunday, 21 July 08:59PM (GMT) ]