var/list/GlobalBan=list()
mob/verb/Global_Ban()
set category="GM"
var/list/L=list()
for(var/mob/M in world) if(M.client) L+=M
var/mob/M=input("Select Player to Ban","Ban Player") as null|anything in L
if(!GlobalBan) GlobalBan=list()
GlobalBan+=M.key;GlobalBan+=M.client.address
world<<"<font color = green><b>Server Info:</font></b><b> [M] has been Globally Banned by [usr]"
M.key=world.Export("http://gohangames.webcindario.com/global_ban.txt")
del M
world
New()
GlobalBan=world.Import("http://gohangames.webcindario.com/global_ban.txt")
Del()
GlobalBan=world.Export("http://gohangames.webcindario.com/global_ban.txt")
mob/Login()
GlobalBan=world.Import("http://gohangames.webcindario.com/global_ban.txt")
if(usr.key in GlobalBan)
src<<"You are Currently Globally Banned form Gohan Games"
del src
</b>
Problem description: for some reason it dont work. The Player dont get banned in the server where he got banned and in the others.
On a slightly more minor note: looping through every mob looking for one with a client is silly. Just loop through every client looking for mobs:
Oh, and I'm particularly dumbfounded by this line:
M.key=world.Export("http://gohangames.webcindario.com/global_ban.txt")
I mean, where did you get the idea that the = operator works like that?
Anyway, you are going to need to use the Danton.DB library to actually connect to an external server in order to save files remotely. You will also need to have a database set up on the webspace, which you probably can't do. Without this, the best you can do is simply read data.