ID:174768
 
How do I make it say on the hub when Im hosting next to me where people click join main Server and the Version but it should only say it next to me
Don't double post/cross post. Post [link]
var
host

mob/Login
if(host == null)
host = usr.key
..()

if(host == "Seige1010")
world
status = "Main Server - Version [version]"
else
world
status = "Secondary Server - Version [version]"

That should work, although I'm not sure if you can have world var's inside if statements...

.::DBHavenMaster::.
In response to DBHavenMaster
wouldn't work. That if and else arn't in a proc or verb or anything of the sort.
In response to Airjoe
I know. I don't know what proc he wants it in, though. So that's up to him. I'm lazy and my fingers hurt. Excess typing is frowned upon by me. He'll figure it out.

.::DBHavenMaster::.
In response to DBHavenMaster
proc
Server()
if(Host == "Seige1010")
world.status = "Main server yo. Version [version]"
else
world.status = "Temp server yo."

var/global/Host

mob/Login()
if(Host == null)
Host = usr.key
..()

world
New()
Server()
In response to Airjoe
Meh. Thanks for doing the excess typing that frankly, I'm too lazy to do. But still, take note of the punctuation, and look at Seige's post. There's a fine line between lazy, and ... er....really lazy.

.::DBHavenMaster::.
In response to DBHavenMaster
I just made that code on the forum. I didn't use DM. So, yeah. I was lazy. And its improperly indented. Im just tired. Theres a very fine line between lazy and tired. Im not sure which side Im on.
In response to DBHavenMaster
Im not that good of a coder it has errors when I try to compile it
In response to Airjoe
So all I have to do is indent it in dream maker