you're halfway there in that you know to use the WWW class (at least... I assume you meant that and not just referring to WWW in the internet...)
http://docs.unity3d.com/Documentation/ScriptReference/WWW.html
do that and run it against a PHP, ASP, Perl, whatever script on a web host that has access to the MOTD and then do with the returned result as you wish.
↧