{"name":"Dice","key":"dice","version":"1.0.0","instructions":"These are dice","showatto":"1","showplayers":"0","requirecss":"","requirejs":"","shim":"","defaults":"width=600,height=400,bgcolor=0x22222,dicecount=2|1|3|4,dicesize=200","amd":"1","body":"<iframe id='@@AUTOID@@' width='@@width@@' height='@@height@@' style='border: none'></iframe>\n","bodyend":"","script":"var params = '?dicecount=' + @@dicecount@@ + '&dicesize=' + @@dicesize@@;\nvar widget = 'dice.lzx.js';\n\nvar iframeurl = M.cfg.wwwroot + '/filter/poodll/js/poodlliframe.php'; \nvar fullurl =iframeurl + \"?paramstring=\" +  encodeURIComponent(params);\nfullurl += \"&widget=\" + widget;\nfullurl += \"&width=\" + @@width@@;\nfullurl += \"&height=\" + @@height@@;\n\n$('#'+ @@AUTOID@@).attr('src', fullurl);\n\n","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}