Results 1 to 2 of 2

Thread: relog on other char?

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5

    relog on other char?

    Hello,
    I need script that will relog on other char when the 1st ran out of stamina.
    I was thinking of sth like this:
    exp wpt
    exp wpt
    exp wpt
    action -> check if stamina < 24:10, if so gotolabel xxx (which is protecion zone and it's close to my exp spot )
    xxx wpt
    action on this wpt -> if islocation() and stamina < 24:10 relog on char zzz

    It wouldn't be a problem if I already hadn't put reconnect() in actions (it's necessary because I got few kicks per day)
    Successful trades:
    104 ms sold on other forum
    153 rp sold to jcmorris20
    205 ed sold to Demon Pwned
    215 ms sold on other forum
    90 days license sold to Glitch
    30 days premium code sold on other forum
    30 days license sold on other forum
    151 ek sold to Glitch
    209 ms sold on other forum
    141 ed sold on other forum
    50 unregistered knight sold on other forum
    204 rp sold on other forum
    56 unregistered knight sold on other forum
    257 ek sold on other forum

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    By ropiderz
    PHP Code:
    local ACCPASS "account""password"
    local CHARS = {"char1","char2","char3","char4"}

    --[[ 
    ENGINE ]]--
    local INDEX_CHAR
    if (stamina <= 900 and pzonethen
        
    for INDEXCHAR_NAME in ipairs(CHARS) do
            if (
    name == CHAR_NAMEthen
                INDEX_CHAR 
    INDEX
            end
        end
        
    if (INDEX_CHAR == #CHARS) then
            
    INDEX_CHAR 0
        end
        setcavebot
    ("no"wait(30004500)
        
    logout() wait(30004500)
        
    connect(ACCPASSCHARS[INDEX_CHAR 1]) wait(30004500)
        
    setcavebot("yes"wait(30004500)
    end 

Posting Permissions

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