OnUserConnect Event
Fires when a user connects.
Syntax
SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
Chat.OnUserConnect = handler
|
Parameters
user |
ChatUser object that represents the user. |
Remarks
The object that caused the event can be referenced in the event function using "this".
Examples
The following example displays an alert window when a user connects.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
SiteCafe.Chat.OnUserConnect = OnUserConnect;
function OnUserConnect(user)
{
alert("User: " + user.Nickname);
}
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top