Results 1 to 8 of 8

Thread: [Request] Safe Bank - Convert from Neo to Ibot

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    [Request] Safe Bank - Convert from Neo to Ibot

    Does anyone can do this?
    Thanks.

    PHP Code:
    auto(100)
    foreach 
    newmessage m do
     if 
    m.sender == 'Tesha' and m.content == 'There is not enough gold on your account.' then
      setcavebot
    ('off')
      
    closeclient()
     
    end
    end 

  2. #2
    Normal User Tibianator's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    19
    Rep Power
    5
    PHP Code:
    local msgs getmessages("NPCs")
    local qtd msgs.count-

    for i=0,qtd do 
    if 
    msgs[qtd].text:find('There is not enough gold on your account.'
    then setcavebot('off'
    wait(2000,4000
    closetibia()
    end 
    end 

  3. #3
    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
    Why not just go:

    if balanace < 30000 then closeclient() end

  4. #4

  5. #5
    Normal User
    Join Date
    Jun 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks @Tibianator

    @pink well i just wanted this action

  6. #6
    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
    Im using that.
    -- NPC name
    local npcname = {"Jessica", "Eva", "Finarfin", "Naji", "Rokyn", "Lokur"}

    local index = 0
    local msgs = getmessages("NPCs")
    local qtd = msgs.count-1
    for i=0,qtd do
    if msgs[qtd].sender == npcname and msgs[qtd].text:find('There is not enough gold on your account.') then
    setcavebot('off')
    wait(5000,10000)
    closetibia()
    end
    end
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

  7. #7
    iBot User
    Join Date
    Jul 2012
    Posts
    246
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    u add it as an action that runs all the time, or in the bank action script ?:P

  8. #8
    Normal User ToadZ's Avatar
    Join Date
    Jul 2012
    Location
    Tarantula Caves - Tiquanda
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    26
    Rep Power
    5
    Quote Originally Posted by terje View Post
    u add it as an action that runs all the time, or in the bank action script ?:P
    A new actions from action list that's runs all time, when you got the message "There is not enough gold on your account", it will close the client.

Posting Permissions

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