Signup Now
Results 1 to 1 of 1
  1. #1
    Free User
    Join Date
    Dec 2015
    Posts
    38
    Reputation
    19
    Rep Power
    0

    Another Anti Idle

    Anti Idle
    This anti idle 'dances' a random number of times (between minmov and maxmov) on a random sequence, each 3 to 7 mins.
    Hope you'll like it.


    init start

    --SETUP
    local minmov = 2 --NUMBER (min steps to dance)
    local maxmov = 6 --NUMBER (max steps to dance)

    --DONT MODIFY ANYTHING BELOW
    math.randomseed( os.time() )
    local checker = 0

    init end

    auto(180000,420000)
    local nr2 = math.random(minmov,maxmov)
    local i = 0
    while (i < nr2) do
    local nr = math.random(1,4)
    while (checker == nr) do
    nr = math.random(1,4)
    end
    checker = nr
    if (nr == 1) then
    turn('e')
    wait(100,500)
    elseif (nr == 2) then
    turn('s')
    wait(100,500)
    elseif (nr == 3) then
    turn('w')
    wait(100,500)
    else
    turn('s')
    wait(100,500)
    end
    i = i+1
    end
    Last edited by GoldFingers; 01-17-2016 at 10:59 PM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •