I wrote a little script which combines the lists from the website's API (Which lists all uncloaked people logged in, regardless of their plane), and gmcp.Comm.Channel.Players (Which you can get all people from your org from, even if they have a cloaking gem) and sorts and colors it based on mmf's name database.
https://www.dropbox.com/s/xgpivwd731lbvrn/playerreport.zip?dl=1 The syntax is 'player report'
Feedback is appreciated!
Comments
Alias name=Player report((?i)^player report$) matched.
Alias: capture group #1 = <player report>
LUA OK script Player report (Alias227) ran without errors
LUA: ERROR running script playerreport.buildpeople (playerreport.buildpeople) ERROR:[string
"function playerreport.buildpeople(_,filepat..."]:3: bad argument #1 to 'input' (C:\Users\[redacted]\.
config\mudlet\profiles\Lusternia/online/characters.json: No such file or directory)
-
(seriously everyone needs to plug this in, immediately)
-
Sorry about that, this version should have both those issues fixed.
I tend to play at a wordwrap of 85, and your display here is 93 characters long, so to keep it from being messed up when I call it I went into the Make It Nice! script and added setWindowWrap("main",93) before the first cecho and then setWindowWrap("main",85) before the final end.
And then I made it so QW just calls this, because it's so good.
-
https://www.dropbox.com/s/qvm684zreimgl9o/playerreport5.zip?dl=0 New download!
Or you can just replace the 'playerreport.getpeople' script with this if you already have it installed, whatever's easier.
function playerreport.getpeople()
sendGMCP("Comm.Channel.Players")
send(" ")
if not lfs.attributes(getMudletHomeDir().."/playerreport") then
lfs.mkdir(getMudletHomeDir().."/playerreport")
end
downloadFile(getMudletHomeDir().."/playerreport/characters.json",[[http://api.lusternia.com/characters.json]])
end
== Professional Girl Gamer ==
Yes I play games
Yes I'm a girl
get over it
-Kilian
also, this looks great kali
This should be the final version, I tweaked a few things in it
It now auto-honours people that aren't already in NDB.
You can configure the colors of the table and the order the cities display in it by adjusting the variables "orglist", "bordercolor" and "wordcolor" where they are initiated in the 'Make it nice!' script.
edit this is great :>
https://www.dropbox.com/s/sgwwsx5igcmvuyr/PlayerReport_v7.zip?dl=1
Discord: Rey#1460
Discord: Rey#1460
Okay, I did a thing, it now can squish in 12 character names.
https://www.dropbox.com/s/k80h6s7bmxtu5iv/PlayerReport_V8.zip?dl=1
https://ada-young.appspot.com/pastebin/NBjlui3S
-Kilian
I fixed it to handle marauder's mask.
put that on the first line of the script, and it should fix it!