XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 3 of 3

Thread: IF injustified kill = CLOSE CLIENT

  1. #1

    Join Date
    Nov 2012
    Posts
    332
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    IF injustified kill = CLOSE CLIENT

    I would really appreciate if someone could make or post a script that you already have that will simply close th tibia client if the character gets an unjustified kill.


    Thank you in advance

  2. #2

    Join Date
    Aug 2013
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    GenericTextMessageProxy.OnReceive("", function(proxy, message)
        if (string.find(string.lower(message), "the murder of")) then
            Walker.Stop()
    	Targeting.Stop()
    	Looter.Stop()
        end
    end)
    turning off targeting looter and walker

    Code:
    GenericTextMessageProxy.OnReceive("", function(proxy, message)
        if (string.find(string.lower(message), "the murder of")) then
            os.exit()
        end
    end)
    closing client

  3. #3

    Join Date
    Nov 2012
    Posts
    332
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by guwno View Post
    Code:
    GenericTextMessageProxy.OnReceive("", function(proxy, message)
        if (string.find(string.lower(message), "the murder of")) then
            Walker.Stop()
    	Targeting.Stop()
    	Looter.Stop()
        end
    end)
    turning off targeting looter and walker

    Code:
    GenericTextMessageProxy.OnReceive("", function(proxy, message)
        if (string.find(string.lower(message), "the murder of")) then
            os.exit()
        end
    end)
    closing client
    Thank you very much, you sir deserves a medal

Posting Permissions

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