Results 1 to 7 of 7

Thread: [Action] Logout when low Sudden Death Runes

  1. #1
    Normal User
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    4

    [Action] Logout when low Sudden Death Runes

    Need a action to stop cavebot and logout when character have low sudden death runes on backpack!

  2. #2
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    Code:
    if itemcount("sudden death rune") < 20 then
    	while battlesigned do
    		wait(10000)
    		updateworld()
    	end
    	setcavebot("no")
    	logout()
    end
    Last edited by walukasz; 02-10-2014 at 02:34 PM.

  3. #3
    Normal User
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    4
    This action will stop cavebot?

  4. #4
    iBot User
    Join Date
    Aug 2012
    Posts
    805
    Mentioned
    18 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    180
    Rep Power
    7
    nope, add setcavebot("no") in this

  5. #5
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    Right, I forgot about this, fixed now

  6. #6
    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
    should probably just turn off cavebot and logout as soon as you are low on sds otherwise it will keep "cavebotting" and run out of sds completely.

    PErsonally I'd do something like this:

    Lua Code:
     
    local minSds = 20
     
    if itemcount("Sudden Death Rune")  <= minSds then
    	while connected do 
    		setcavebot("no")
    		logout()
    		wait(1000)
    	end
    end


    It keeps targeting on, but cavebotting off, so it doesnt keep walking around, just stand there and keeps trying to logout until you can.

  7. #7
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    should probably just turn off cavebot and logout as soon as you are low on sds otherwise it will keep "cavebotting" and run out of sds completely.

    PErsonally I'd do something like this:

    Lua Code:
     
    local minSds = 20
     
    if itemcount("Sudden Death Rune")  <= minSds then
    	while connected do 
    		setcavebot("no")
    		logout()
    		wait(1000)
    	end
    end


    It keeps targeting on, but cavebotting off, so it doesnt keep walking around, just stand there and keeps trying to logout until you can.
    that makes sence ;p

Posting Permissions

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