Results 1 to 2 of 2

Thread: Exit action if moved

  1. #1
    iBot User
    Join Date
    Oct 2012
    Posts
    52
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    10
    Rep Power
    5

    Exit action if moved

    Hello i need working action like:

    if not islocation(32228,32397,7) then
    closetibia()
    end

    I am training on mad sheep and i need this action when sb move me

  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:
    --[[ INIT START ]]--
        local POS = {32228, 32397, 7}
    --[[ INIT END ]]--
    
    if ground(posx, posy, posz) ~= ground(unpack(POS)) then
        closetibia()
        wait(200, 400)
    end
    Last edited by Raph_; 06-01-2013 at 07:22 AM.

Posting Permissions

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