world
hub = "Mxjerrett.TheLastHero"
visibility = 1
mob/verb/start_game()
set category = "Host"
world.visibility = 1
world.version = 1.22
world.status = "Host: [ (!Host)? "Unknown" : Host] |Version: [world.version]"
var
Host
client/New()
..()
if(!src.address)Host=src.key
ID:167474
Mar 9 2006, 1:51 am
|
|
how would i change this code so the second u start hosting the information appears instead of u having to click the start game verb
|
Mar 9 2006, 2:10 am
|
|
You can do that in world.New().
|
In response to CaptFalcon33035
|
|
ok
|
In response to Mxjerrett
|
|
everything checks out except
status = "Host: [ (!Host)? "Unknown" : Host] |Version: [world.version]" doesnt work says expected:constant expression |
In response to Mxjerrett
|
|
Show us the code you edited before and after, it's most likely not that line.
|
In response to Artemio
|
|
heres my current 1 i think i fixed it but it say hotst unknown if someone hosts it oh and in the last code if were to host it and use that code it would only say when i was hosting so i need help there too.
world.New() Heres the original mob/verb/start_game() And finally here it is before i think i fixed it world Actually after reviewing i think i may see the problem i have it set up as world.version and not just version but i still need help making so others can host it and u can see their name |
In response to Mxjerrett
|
|
> world.New() ---> world |