• Networking: The investigation is still on the way, we've switched to backup telecom carriers since the episode but we're still working in settling everything as it must be. We'll add more updates as we have them available. Incoming and outgoing emails will be restricted, and user registration has been disabled until the issue is resolved.

MOTD User Greeting

Newbie Spellweaver
Joined
Jan 5, 2007
Messages
12
Reaction score
0
Location
California, USA
How do I implement the feature of having the server greet a player by name in the MOTD?

ex:

MOTD= Welcome to my MaNGOS server, PLAYERNAME!
 
Last edited:
Basically under normal circumstances this is NOT POSSIBLE. as for we know MOTD= wht it seeks from "mangosd.conf" which is basically a text document the server just seeks a text as MOTD, Playername = "$N" which is a variable, and u cant use a variable within a Text file, if there would been a option of mangos checking "MOTD" from within DB then "$N" would work just FINE. I will check if "MOTD" can be mede to accessed from within DB ... in the mean time u also try.
 
Yeah I've already tried using the $N variable.

It literally just showed "$N".

I just liked it because I remember it from w0wemu.

If there was anyway to implement it without a performance change, then that would be sweet!
 
Compile your MaNGOS source with the Global Announce script on and customize it with the $N variable to suit your needs.
 
Back