Advertisement
Guest User

Untitled

a guest
Apr 13th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. downloadFile(getMudletHomeDir().."/thonoursjson.html", "http://api.imperian.com/characters/" .. matches[3] .. ".json")
  2. plName = matches[3]:title()
  3. plAction = matches[2]
  4. tempTimer(1, function ()
  5.   local name = plName
  6.   local action = plAction
  7.   local str = ""
  8.   local info = players[name] or nil
  9.   if not info then
  10.     debug("No player " .. name)
  11.   else
  12.     str = str .. info.name
  13.     str = action .. string.format("%s - Lvl(%d):%s:%s:%s", info.name, info.level, info.city:title(), info.statpack:title(), info.profession:title())
  14.     cecho(str)
  15.     send(str)
  16.   end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement