i triyed
world.status = "Hosted by [world.Host]"<?DM>, but it doesnt work... help!
ID:269993
Dec 8 2005, 4:30 am
|
|
Help!I need to know how i put the hoster's name on the world status...
i triyed world.status = "Hosted by [world.Host]"<?DM>, but it doesnt work... help! |
Dec 8 2005, 5:59 am (Edited on Dec 8 2005, 7:25 am)
|
|
Didn't you already ask before?
|
In response to Mysame
|
|
Mysame wrote:
Didn't you already ask before? > mob/var |
In response to Pharaoh Atem
|
|
Then it will do nothing special. Just add 1 (++) to the var to make it count the players.
|
In response to Mysame
|
|
Mysame wrote:
Then it will do nothing special. Just add 1 (++) to the var to make it count the players. i dont know where i will put your code... i need the else because i have various start points.See this : mob |
In response to Pharaoh Atem
|
|
Think to your self for a second. In programming, do you really think that's the only way to keep on making a certain thing happen? Copying and pasting it a billion times? Wouldn't they have made something more efficient?
*Gives you time to think* Answer: Yes. They're called loops. Open up the DM Guide and read all of it, it'll cover how to loop. Secondly, don't use usr in mob/Login(). Out of interest, do you even know what usr is? |
In response to Pharaoh Atem
|
|
my dear god I pray that you didn't actually type all of that.
Look up looping. Here's some commands to look up and learn that will help you : Spawn() For() While() |
In response to Mysame
|
|
That's a bad system. I believe if you check if the person has no client.address or their client.address matches world.address, then they're the host.
|
In response to Artemio
|
|
Then again, y0 b t3h 1337 sh1zzl3. Why didn't you help him before me then? >.<
|
In response to Artemio
|
|
Artemio wrote:
That's a bad system. I believe if you check if the person has no client.address or their client.address matches world.address, then they're the host. i dont understand this :S :S :S |
In response to Pharaoh Atem
|
|
mob/Login() |
In response to Artemio
|
|
Wouldn't it be better to reference the host, instead of just setting the var to 1? =/
|
In response to Artemio
|
|
Artemio wrote:
> mob/Login() you guys dont answered me...and the elses? |
In response to Jon Snow
|
|
I can't actually see any of it.
|
In response to Detnom
|
|
Detnom wrote:
Wouldn't it be better to reference the host, instead of just setting the var to 1? =/ Yes. It's a 1000 times better. _Ryan |
In response to Jp
|
|
basically he wanted to do something 600 times and copied and pasted it that many times.
|
In response to Pharaoh Atem
|
|
Pharaoh Atem wrote:
Mysame wrote: LMFAO @ your long... very long never ending code. |
In response to Jon Snow
|
|
It renders on my Linux partition.
Good god... |