ID:179305
 
ok, i want to have it so people who are hosting can name their world, how do i have the game check who is hosting, and then give them the abbility to change the worlds name, is there a way other then checking to see if there the first ones there, because sometimes when i put my game up, people will beat me there.
[link]
code.6985
dbz73 wrote:
ok, i want to have it so people who are hosting can name their world, how do i have the game check who is hosting, and then give them the abbility to change the worlds name, is there a way other then checking to see if there the first ones there, because sometimes when i put my game up, people will beat me there.

Try this/

mob/Host
verb
WorldName(t as text)
world.name=t

client/New()
if(world.url==src.address)
src.verbs+=/mob/Host/verb/WorldName
..()
else
.=..()