Results 1 to 4 of 4

Thread: X-log if standtime are to long

  1. #1
    Normal User
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0

    X-log if standtime are to long

    Hello guys. I have been killed becouse of ppl putting funiture in my way and let monsters shoot at me and kill me. So i want to make a action that first heal me to max hp. For example cast exura ico 4 times and then X-log.

    Code:
    if standtime > 45000 then
    cast("Exura Ico") 
    wait(1000)
    cast("Exura Ico") 
    wait(1000)
    cast("Exura Ico") 
    wait(1000)
    cast("Exura Ico") 
    wait(1000)
    (And here u X-log)
    end
    Long time i made my own scripts and didnt make this kind of actions So would be nice if someone could help me out here and fix this or just give me some advise how to think

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Can someone make me a tutorial on how to use the search button in the top right corner of the forums?
    PHP Code:

    local maxTime 
    -- Minutes
    local xLogHppc 
    90 -- HPto Xlog on

    if standtime > ((60*maxTime)*1000then
        setsettings
    ("Settings\\Healer\\Rules\\LightHealing\\HealRange""0 to 90 %")
        while 
    hppc xLogHppc do
            
    wait(1000)
            
    updateworld()
        
    end
        screenshot
    (name.." "..string.gsub(date(), "/""-").." "..string.gsub(time(), ":""."))
        
    wait(500)
        
    closetibia()
    end 
    I didn't test it, and you will need to rename your healer rule to match
    Last edited by pink_panther; 10-21-2013 at 07:11 PM.

  3. #3
    Focus Group Gryllz's Avatar
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    3,482
    Mentioned
    89 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    236 Post(s)
    Reputation
    342
    Rep Power
    10
    Quote Originally Posted by pink_panther View Post
    Can someone make me a tutorial on how to use the search button in the top right corner of the forums?
    I will do it!

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Sticky it when you're done.

Posting Permissions

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