The Bytecode Club

Full Version: 5.4.2.2 + Giants atk and donate troops
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Ok, I figured it out. If anybody wants the bot to donate more often while waiting for camps to fill just add this code to script


Code:
;Donate Settings
Global $iDonateCounter = 0 ; Donate counter, when reaches $DONATEATCOUNT, it will donate
Global $DONATEATCOUNT = 2 ; Run DonateCC() after this amount of times before actually donate

and this under  general functions

If _Sleep(30000) Then ExitLoop (2)


Code:
If $iDonateCounter > $DONATEATCOUNT Then ; This is prevent from donating all the time which isn't needed anyway
DonateCC()
If _Sleep(1000) Or $RunState = False Then ExitLoop (2)
$iDonateCounter = 0
Endif
$iDonateCounter = $iDonateCounter + 1



This feature donates every 2 min, and I only tested it in this version of the bot.
Pages: 1 2 3 4 5