Mall Store - Buyer Logger

Gopherpunter

New member
Hi, I don't know much at all about scripting, so this thread is more of a request.

Does anyone know of any existing scripts that log the people that have visited your store, or maybe makes a txt document of the buyers? I want to reward frequent shoppers for their loyalty, to encourage further purchases, but it's difficult to count how many times and when who has come and bought items from my store.

If a script like this doesn't exist, would it be hard to make one?

-Gopherpunter
 

Alhifar

Member
For future reference, requests tend to be frowned upon here unless you have some coding already started.

However, I was bored, so I whipped together a script that will look at you mall logs and put them into a tab-delimited text file. From there you can put it into your favorite spreadsheet editor, or parse it some other way.

Note: I haven't thoroughly tested the script; I don't get much traffic in my mall store. However, I'm fairly positive it should work correctly.
 

Attachments

  • logparse.ash
    2.6 KB · Views: 78
Top