Results 1 to 2 of 2

Thread: Help with this action !

  1. #1
    Normal User
    Join Date
    Mar 2012
    Posts
    12
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Help with this action !

    if standtime > 20000 then
    setcavebot('on')
    wait(200)
    setcavebot('on')
    else
    setcavebot('on')
    end

    What's wrong with this action guys ? I want to enable cavebot if x standtime !

    Could anyone help me ?

    Thx

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Why you enable cavebot 2 times? And this script enable cavebot all time because if standtime > 20000 then enable cavebot else enable cavebot too And you should use setcavebot("yes"). If you want only enable cavebot if x standtime use this script:

    Code:
    if (standtime > 20000) then
    setcavebot("yes")
    end
    Last edited by Eldar; 05-18-2013 at 06:19 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
  •