Results 1 to 4 of 4

Thread: Need help with training.

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

    Red face Need help with training.

    Hello, I'm training with two monks, but I died for another monster, because I only attack the monks.

    I would like the bot to kill any monsters approaching, or possibly a third monk who approached. Except for this, I need to change weapons too, because I'm using a weak weapon to train, then put the strongest to kill.

    And also do not know how to stand on a particular sqm, because someone has managed to push me away, I wanted to return to sqm when moved during training.

    Thanks for the support .. REP + + to give all.

  2. #2
    Normal User
    Join Date
    Feb 2012
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    12
    Rep Power
    5
    never used getcreatures() function

    PHP Code:
    local m getcreatures('ms')
    local strongweapon "magic sword"
    local weakweapon "knife"
    local monstertrain "Monk"

    if m.dist == and m.name ~= monstertrain and m.isattackme == true then
     moveitems
    (strongweapon,"all","weapon",1)
     
    wait(500,700)
     
    attack(m.name)
    else 
     
    moveitems(weakweapon,"all","weapon",1)
     
    wait(500,700
     
    attack(monstertrain)
    end 
    if u wanna pass ur msn for better work pm me

    can't test it here.

    to stay ever in same sqm, try create a 'Stand' name it for 'label1' and after a 'Action' with gotolabel(label1) turn on cavebot
    Last edited by lelao22; 06-25-2012 at 07:20 PM.
    REP+ If I helped you

  3. #3
    mathrink's Avatar
    Join Date
    Apr 2012
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    very nice
    Boy Scritps.
    Em Breve Shop Online!



  4. #4
    Normal User
    Join Date
    Feb 2012
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    12
    Rep Power
    5
    its work mathrink?
    REP+ If I helped you

Posting Permissions

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