Ok guys, i already did the hard part, this script already properly reads from the memory the Private Messages (PM's) you receive.
I'll post the source because i want the community to actually develop this since i don't have the time.
What it does Right now is to log all the PM's you receive/send to "PMLog.ini" file that will be created in the same folder as the script.
If you are using this basic script on your own PM Logger, keep the source open(if you are sharing).
If you want to add a action when you received a PM is pretty easy to do.
What it reads:
PlayerStats.ChatMsg contains "@PlayerName: MSG"
PlayeStats.ChatName contains "PlayerName"
PlayerStats.ChatDate contains "YEAR/MONTH/DAY"
PlayerStats.ChatTime contains "HOUR:MIN:SEC"
PlayerStats.Name contains "YourPlayerName"
Linked Items will appear as "_"
Source:
http://pastebin.com/cHyX8dhr
Using This Library:
AutoHotkeyMemoryLib.ahk
Compiled if you just want to log the PM's and not do any action:
http://www.mediafire.com/download/q3f3d0q318v17o9/PoE+PM+Logger.exe