mob/verb/test()
var/http[] = world.Export("http://www.byond.com")
if(!http)
usr << "Failed to connect."
return
usr << "HTTP Header:"
for(var/V in http)
usr << "[V] = [http[V]]"
usr << "\n"
var/F = http["CONTET"]
if(F)
usr << html_encode(file2text(F))
It shows a lot of lines when I use it, is there a way to code something like this which displays the HUB Version, and some of the lines? I don't know much about html, and I've never done anything at all related to this :/
I've also used this (after being helped twice):
mob
proc
Medals()
if(Rounds<100)
var/Medal1 = world.GetMedal("First Level!", key, "EternalMemories.NarutoEternalMemories","**** (can't tell xD)")
if(Medal1)
Rounds=100
It's just supposed to check a HUB's Medal, it works when I play on my server, but on others server it never works, I don't know why... I've deleted my saves a lot of times to make sure it worked, and it worked well. any idea?
Thanks for the help (: