Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- downloadFile(getMudletHomeDir().."/thonoursjson.html", "http://api.imperian.com/characters/" .. matches[3] .. ".json")
- plName = matches[3]:title()
- plAction = matches[2]
- tempTimer(1, function ()
- local name = plName
- local action = plAction
- local str = ""
- local info = players[name] or nil
- if not info then
- debug("No player " .. name)
- else
- str = str .. info.name
- str = action .. string.format("%s - Lvl(%d):%s:%s:%s", info.name, info.level, info.city:title(), info.statpack:title(), info.profession:title())
- cecho(str)
- send(str)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement