Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ready=false;
- function mycashout(){
- if(ready){
- engine.cashOut();
- console.log("Autocashed out");
- ready=false;
- }
- else
- console.log("i already cashed out")
- }
- engine.on('game_started', function(info) {
- engine.placeBet(100, 588800, function(){ });
- ready=true;
- setInterval(function(){ mycashout(); }, 4000);
- });
- engine.on('cashed_out', function(data) {
- if(data.username == engine.getUsername() && ready==false){
- console.log("STOP="+data.stopped_at / 100);
- ready=false;
- }
- });
- engine.on('game_crash', function(data) {
- ready=false;
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement