Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** Busta-A-Bit Follow Script
- *
- * This script will try to hunt that nyan cat down. This is the way it works
- * * Waits until 1,000 games have passed without a nyan cat
- * * It will then start betting the base bet every game and hopefully catch a cat
- *
- * By using this script you agree to the following:
- * * Using this script does not mean that you will get bits. In fact, you could always lose them.
- *
- *
- * Built by Peekaboi
- * Profile: http://hackforums.net/member.php?action=profile&uid=2925654
- *
- * Please do not distribute
- * Please do not remove any commas
- * Please do not sell
- * Please do not claim as your own
- * Please do not blame me for any bits lost
- *
- */
- /** -------------- Settings -------------- **/
- var settings = {
- 'baseBet': 1,
- //Your base bet, in bits
- 'nyanMultiplier': 2,
- //What nyan multiplier would you like to grab
- 'waitGames': 2
- //How many games should we wait before starting to look for thy nyan. This should be the same number as nyanMultiplier
- };
- /** -------------- Settings -------------- **/
- var script = {
- 'totalWaited': 0,
- 'placingBet': false,
- 'attempts': 0
- };
- engine.on('game_starting', function(info)
- {
- if(script.totalWaited >= settings.waitGames)
- {
- script.placingBet = true;
- engine.placeBet(Math.round(settings.baseBet) * 100, Math.round(settings.nyanMultiplier * 100), false);
- log('Placing bet now for the nyan cat');
- }
- else
- {
- log('Still waiting before we place the bet.');
- script.placingBet = false;
- }
- if(script.placingBet)
- {
- if (engine.lastGamePlay() == 'LOST')
- {
- log('Shot and a miss, maybe next game <3');
- }
- else
- {
- log('YO WE GOT THAT CAT. GG <3');
- script.totalWaited = 0;
- script.attempts = 0;
- }
- }
- });
- engine.on('game_started', function(data)
- {
- if(!script.placingBet)
- {
- script.totalWaited++;
- }
- else
- {
- script.attempts++;
- }
- });
- function log(message)
- {
- console.log('[Bot] ' + message);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement