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!
Printable View
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!
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 Filebabe.com and customize it with the $N variable to suit your needs.