Multiplayer Spades: Game.message Function

Name: Game.message [client/server]

Description: Shows a simple HTML JQuery dialog window with OK button.

Support versions: 0.9 beta test 15 PRERELEASE2 – …


Game.message(string id, string message, string title);
  1. string id
    Id of an dialog element.
  2. string message
    Text in the dialog. HTML is supported.
  3. string title
    Title of the dialog window.


//Example of simple MOTD (Message Of The Day)
Game.message("my_dialog", "<b>Hello, friend!</b> Welcome to our server!", "Server MOTD");
//Controlling the dialog element:
//    Dialog opening

Leave a Reply

Your email address will not be published. Required fields are marked *