ID:150417
 
how do i make it to where when someone logs in it says...
"Maxxis logs in!!"????
Maxxis wrote:
how do i make it to where when someone logs in it says...
"Maxxis logs in!!"????


mob/Login()
world<<"[src] logs in!"
Maxxis wrote:
how do i make it to where when someone logs in it says...
"Maxxis logs in!!"????
mob
Login()
world<<"[usr] logs in!"
DUH!!! You guys are all wrong. Here it is:


mob
Login()
world << "[src.name] logs in!!"
In response to Lord of Water
Lord of Water wrote:
DUH!!! You guys are all wrong. Here it is:

Actually, they were all right. So are you. Valder had a least good way of doing it, because usr shouldn't be used outside verbs, though I still let myself do it sometimes. Bad newbie habit ;)
In response to Vortezz
Vortezz wrote:
Lord of Water wrote:
DUH!!! You guys are all wrong. Here it is:

Actually, they were all right. So are you. Valder had a least good way of doing it, because usr shouldn't be used outside verbs, though I still let myself do it sometimes. Bad newbie habit ;)

No, no one was right. This is it

mob/Login()
world << "Maxxis logs in!!"
..()

Alathon
In response to Alathon
Alathon wrote:
Vortezz wrote:
Lord of Water wrote:
DUH!!! You guys are all wrong. Here it is:

Actually, they were all right. So are you. Valder had a least good way of doing it, because usr shouldn't be used outside verbs, though I still let myself do it sometimes. Bad newbie habit ;)

No, no one was right. This is it

mob/Login()
world << "Maxxis logs in!!"
..()

Alathon

Stop being evil already...thats my job.
In response to Nadrew
Nadrew wrote:
Alathon wrote:
Vortezz wrote:
Lord of Water wrote:
DUH!!! You guys are all wrong. Here it is:

Actually, they were all right. So are you. Valder had a least good way of doing it, because usr shouldn't be used outside verbs, though I still let myself do it sometimes. Bad newbie habit ;)

No, no one was right. This is it

mob/Login()
world << "Maxxis logs in!!"
..()

Alathon

Stop being evil already...thats my job.

Actually, Lexy is the evil one. Followed by a far me.

Moron!
In response to Vortezz
Vortezz wrote:
Nadrew wrote:
Alathon wrote:
Vortezz wrote:
Lord of Water wrote:
DUH!!! You guys are all wrong. Here it is:

Actually, they were all right. So are you. Valder had a least good way of doing it, because usr shouldn't be used outside verbs, though I still let myself do it sometimes. Bad newbie habit ;)

No, no one was right. This is it

mob/Login()
world << "Maxxis logs in!!"
..()

Alathon

Stop being evil already...thats my job.

Actually, Lexy is the evil one. Followed by a far me.

Moron!

My code:

mob/Login()
world<<"A giant bloody maxi pad named [src] has entered"
..()
deja vu...

If you want it to happen only when a player logs into the world, you should put it in client/New(). mob/Login() is called everytime you switch mobs, even if you are already logged into the game.

client/New()
world << "[src] logs in."
..()