My friend has been helping me to develop a script for automatic dicing. We have been using json and PHP.
We just finally finished it and this is the end result.
The script is 61X2 dicing.
Error testing
Rand strings
if(empty($m)){
$r=rand(1,100);
if($r <= 60){
$params = array("Command" => "AccountsDecBalance", "Player" => $player, "Amount" => $bet);
$m = 3;
} else if ($r > 60){
$params = array("Command" => "AccountsIncBalance", "Player" => $player, "Amount" => $bet);
$m = 4;
}