Example for some sort of RPG:
function clientCmdRPGName_receiveData(%class,%guild)
{
ClassText.setText("Class: " @ %class);
GuildText.setText("Guild: " @ %guild);
}
Then use this code from the server to update the client's "rpg data"/text controls:
commandToClient(%client,'RPGName_receiveData',"Warrior","Gay Pixy Nobles");