Results 1 to 3 of 3

Thread: Stop bot after dead

  1. #1
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Stop bot after dead

    Hello people!
    I need a action to stop the bot after dead. A command like "if dead then"
    and i will combine with
    PHP Code:
    local cavebot getsettings("Settings/CaveBot/Enabled")
    local targeting getsettings("Settings/Targeting/Enabled")

    if 
    cavebot == 'no' or targeting == 'no' then
       setcavebot
    ('on')
       
    settargeting('on')
       
    setlooting('on')
    else
       
    setcavebot('off')
       
    settargeting('off')
       
    setlooting('off')
    end
    wait
    (500
    To stop bot if dead. That`s bcus of this action

    PHP Code:
    --[[
        
    NameAuto Reconnect Bp Opener by BlakW 
        Version
    v1.0
    ]]--
        
        
    --
    Account:
    accountNameIs = ("abcdefg")

    --
    Password:
    passwordNameIs = ("1234567")

    --
    Character name:
    characterNameIs = ("Blakw")

    --
    Main Backpack Name:
    mainBackpackName = ("Red Backpack")

    --
    Loot Backpack Name:
    lootBackpackName = ("Orange Backpack")

    --
    Gold Backpack Name:
    goldBackpackName = ("Yellow Backpack")


    if (
    connected == false)
    then
        connect
    (accountNameIspasswordNameIscharacterNameIs)
        
    wait(6001800)
        
    pausewalking(10000)
        
    openitem(mainBackpackName"back")
        
    wait(2000)
        
    resizewindows()
        
    openitem(lootBackpackNamemainBackpackNametrue)
        
    wait(2000)
        
    resizewindows()
        
    openitem(goldBackpackNamemainBackpackNametrue)
        
    wait(2000)
        
    resizewindows()
        
    wait(1000)
        
    setcavebot("yes")
        
    wait(300)
        
    settargeting("yes")
        
    wait(300)
        
    setlooting("yes")
        
    wait(1000)
    end 
    doens`t work well if u dead the bot restart ur char and continuing botting causing several deaths.
    Thx.

  2. #2
    iBot User Ducklin's Avatar
    Join Date
    Jun 2012
    Posts
    377
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    33 Post(s)
    Reputation
    45
    Rep Power
    5
    the bot already has that "if dead stop" maybe you could use it:
    Start\\Settings\\CaveBot\\Settings\\PauseOnDeath : yes/no

    FREE SCRIPTS
    PAID SCRIPTS
    Give me some Credit, give me you're REP
    +

  3. #3
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Quote Originally Posted by Ducklin View Post
    the bot already has that "if dead stop" maybe you could use it:
    Start\\Settings\\CaveBot\\Settings\\PauseOnDeath : yes/no
    i always mark this option but realy never work >/

Posting Permissions

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