Welcom Messages?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Posts: 2
Joined: 09 Feb 2006, 04:45

Welcom Messages?

Postby josh » 09 Feb 2006, 04:49

Welcome Messages: are they possible? I would like to send a message to a user as they log into a room or a zone. I can't see anything in the documentation about it.
User avatar
Site Admin
Posts: 21690
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 09 Feb 2006, 08:23

Hello and welcome,
we don't have a specific "method" for welcome messages but it would be quite simple to create it.

If the message is the same for all you could even implement it on the client side. As soon as a user joins a room for the first time just show the welcome message. No server side work needed :D

Alternatively, if the welcome message changes often, you could implement it in a server side extension.
When the user successfully login you can send the welcome message inside the login response coming from the server.

You will need SmartFoxServer PRO, and you could learn more about custom logins in chapter 8.5 of our docs ( http://www.smartfoxserver.com/docs/ )

Hope it helps :)
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 28 guests