Results 1 to 3 of 3

Thread: Trainer security - leave if appear player on screen

  1. #1
    iBot User
    Join Date
    Feb 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    2

    Trainer security - leave if appear player on screen

    Hi!
    I'm training in slime and I need a action that make this:

    If appear player on screen (or player attack), change a sword, kill all slimes and go to X label for security.

    I imagine that this is a method for optimizing the training.

    Thxx

  2. #2
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    This should give you a way to go

    Lua Code:
     
    local WEAPON = 'Shiny Blade'
     
    if paround(7, true) > 0 or underattack("p") then
       setcavebot("no")
       settargeting("no")    
       moveitems(WEAPON , "all", "weapon", 100)
       gotolabel('my_label_security')
    end
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  3. #3
    iBot User
    Join Date
    Feb 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    2
    Thanks!

Tags for this Thread

Posting Permissions

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