# Set Method The Set method creates or updates a new template variable by key and value. Syntax
    SiteKiosk.Plugins("SiteCash").Set(key, value)
Parameters
key | String that specifies the key of the template variable.
value | String that specifies the the value of the template variable.
Return Value None. Remarks None. Examples The following example creates a new template variable called $(RemainingSurftime).
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();

    var SiteCash = SiteKiosk.Plugins('SiteCash');
    SiteCash.Macromap.Set("RemainingSurftime", SiteCash.RemainingSurftime);

    </SCRIPT>
Applies to SiteKiosk v7.2 (and later versions). Back to top