General
API
Language libraries
External Services
Other
Track Stats with Lua
1. Download stathat.lua.
2. Include it in your Lua script:
local stathat = require("stathat")
3. Make calls to StatHat. You do not need to create the stats first
using the web interface.
stathat.ez_count("YOUR_EZKEY", "messages sent - female to male", 1)
4. Go to the stats page to see your stats!