Sounds good, how does it pull information from the database, ie do i have to pass the tables i want it to select the 'events' from, to the script? and what if i had several diffrent names for my user id ie in my mail database i may have TO_ID and FROM_ID but in my attack logs i may have ATTACKER_ID, DEFENDER_ID