Results 1 to 7 of 7

Thread: Action

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

    Question Action

    I need action when any player is on screen. yesterday I death becouse player lure dls.

    ifplayeronscreen then
    gotolabel("depo")
    end

    Its not work.

  2. #2
    Normal User Straxor's Avatar
    Join Date
    Sep 2012
    Location
    Sweden
    Posts
    430
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    46
    Rep Power
    5
    PHP Code:
    if paround(7) > 
    then 
    gotolabel
    ("Depot")
    end 

    Name Vocation Level
    Banuta -1 RP 190
    Tempel of Equilibrium Chosens RP 180
    Hive Surface/Towers EK 170


  3. #3
    Normal User
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Thanks but can you add to action offing targeting?

  4. #4
    Normal User
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    if paround(7) > 0
    then
    gotolabel("Depot")
    setsettings("Settings\\Targeting\\Enabled","no")
    end

    Its good?

  5. #5
    Normal User
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Okay all working. Thanks )
    PHP Code:
    if paround(7) > 
    then
    gotolabel
    ("deposit")
    setsettings("Settings\\Targeting\\Enabled","no")
    say("utani gran hur")
    wait(10000)
    end 

  6. #6
    Normal User Straxor's Avatar
    Join Date
    Sep 2012
    Location
    Sweden
    Posts
    430
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    46
    Rep Power
    5
    PHP Code:
    if paround(7) > 0  
    then 
    gotolabel
    ("deposit"
    setsettings("Settings\\Targeting\\Enabled","no"
    cancast("utani gran hur"
         
    then
    cast
    ("Utani Gran hur")
    wait(10000
    end 

    this is more safe for you

    Name Vocation Level
    Banuta -1 RP 190
    Tempel of Equilibrium Chosens RP 180
    Hive Surface/Towers EK 170


  7. #7
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5
    Quote Originally Posted by Straxor View Post
    PHP Code:
    if paround(7) > 0  
    then 
    gotolabel
    ("deposit"
    setsettings("Settings\\Targeting\\Enabled","no"
    cancast("utani gran hur"
         
    then
    cast
    ("Utani Gran hur")
    wait(10000
    end 


    this is more safe for you




    indeed. "cast" better than "say" cause it will use the hotkey (add it to the hotkey, TIBIA hotkey, ffs. like f1, f2 , shift+f3, ok?), instead of trying to write it.
    that would waste time and fail for any reason. I guess it would also fail if he tries to heal while trying to "say"

Posting Permissions

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