mob/Login()
src << "Joined: [hubPlayer(ckey)["joined"]]"
src << "Joined: [hubPlayer("kozuma3")["joined"]]"
proc/hubPlayer(CKEY)
try
. = file2text(world.Export("http://www.byond.com/members/[CKEY]?format=text")["CONTENT"])
. = params2list(replacetext(replacetext(replacetext(.," ",""),"\n","&")," ","")):Copy(2)
catch(){return list()}
proc/hubGame(PATH)
try
. = file2text(world.Export("http://www.byond.com/games/[replacetext(PATH,".","/")]?format=text")["CONTENT"])
. = params2list(replacetext(replacetext(replacetext(.," ",""),"\n","&")," ","")):Copy(2)
catch(){return list()}
ID:2462371
May 4 2019, 4:51 am
|
|
Returns the above information as a list.