Results 1 to 2 of 2

Thread: Relog to next char

  1. #1
    Normal User nazzgul's Avatar
    Join Date
    Dec 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Relog to next char

    How to change this script to use different accounts?

    Code:
    local ACC, PASS = "account", "password"
    local CHARS = {"char1","char2","char3","char4"}
    
    --[[ ENGINE ]]--
    local INDEX_CHAR
    if (stamina <= 900 and pzone) then
        for INDEX, CHAR_NAME in ipairs(CHARS) do
            if (name == CHAR_NAME) then
                INDEX_CHAR = INDEX
            end
        end
        if (INDEX_CHAR == #CHARS) then
            INDEX_CHAR = 0
        end
        setcavebot("no") wait(3000, 4500)
        logout() wait(3000, 4500)
        connect(ACC, PASS, CHARS[INDEX_CHAR + 1]) wait(3000, 4500)
        setcavebot("yes") wait(3000, 4500)
    end
    Thanks

  2. #2
    Normal User nazzgul's Avatar
    Join Date
    Dec 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    bring up my post

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
  •