Results 1 to 8 of 8

Thread: Logout when no Balance on bank

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

    Logout when no Balance on bank

    as the title says can u help me?

  2. #2
    Banned
    Join Date
    Feb 2012
    Location
    www.dvscripts.com
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    0
    PHP Code:
    -- NPC name
    local npcname 
    'Ebenizer'

    local index 
    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 
    Test it

  3. #3
    Normal User
    Join Date
    Apr 2012
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Some1 tested /\ ?
    Flogão: /ntx

    Nahvi Team.

  4. #4
    Normal User
    Join Date
    May 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by NtxScripts View Post
    Some1 tested /\ ?
    This script made by Jonatas and it works.

  5. #5
    Normal User
    Join Date
    Jun 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thx i will test it today!

  6. #6
    Normal User
    Join Date
    Jun 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    its not working :S

  7. #7
    iBot User Nosekim's Avatar
    Join Date
    Feb 2012
    Posts
    1,089
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    70
    Rep Power
    7
    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(5000,10000
          
    closetibia() 
       
    end 
    end 

  8. #8
    iBot User
    Join Date
    Jun 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    or change local npcname from 1st script ^^

Posting Permissions

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