Results 1 to 3 of 3

Thread: Does it works?

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

    Does it works?

    local msgs = getnewmessages("Server Log")
    local qtd = msgs.count-1

    for i=0,qtd
    do
    if msgs[qtd].text:find("Warning! The murder of .+ was not justified.")
    then
    setcavebot("off")
    settargeting("off")
    setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no")
    setsettings("Settings\\Actions\\List\\Auto Safe Reconnect\\Enabled", "no")
    wait(2000,5000)
    closetibia()
    end
    end
    end




    Does it works?

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Code:
    _MESSAGE = getnewmessages("Server Log")
    _COUNT = _MESSAGE.count - 1
    
    for x = 0, _COUNT do
    	if _MESSAGE[_COUNT - x]:find("Warning!") and _MESSAGE[_COUNT - x].type == 15 then
    		setcavebot("off")
    		settargeting("off")
    		setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no")
    		setsettings("Settings\\Actions\\List\\Auto Safe Reconnect\\Enabled", "no")
    		closetibia()
    		wait(200, 400)
    	end
    end

  3. #3
    Normal User luckascouto's Avatar
    Join Date
    Mar 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thanks (:

Posting Permissions

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