Accept Method



 
The Accept method accepts a single coin.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices2.Item(index).Accept(slotnr)
    
Parameters
    slotnr Long value that specifies the slot number.
Return Value
    None.
Remarks
    None.
Examples
    The following example accepts the first inserted coin of the first existing device.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    if (SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Coins.Count > 0)
    {
       SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Accept(1);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top