Results 1 to 4 of 4

Thread: close tibia when player online

  1. #1
    Normal User
    Join Date
    Jun 2013
    Posts
    96
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    15
    Rep Power
    4

    Question close tibia when player online

    well i saw in forum a lot of actions for alerts but i need one for close tibia when x player online immediatly.

  2. #2
    Normal User
    Join Date
    Jun 2013
    Posts
    96
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    15
    Rep Power
    4
    local WARN_PLAYERS = {"xxx","yyyy"}

    for i = 1, #WARN_PLAYERS do
    if isviponline(WARN_PLAYERS[i]) then
    setcavebot("off")
    settargeting("off")
    wait(2000,4000)
    closetibia()
    end
    end



    it's working just sometimes any help ?

  3. #3
    Normal User
    Join Date
    Jun 2013
    Posts
    96
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    15
    Rep Power
    4
    bump!!!!!!!!!!!!!!!!!!!!!!!

  4. #4
    Normal User mankey's Avatar
    Join Date
    Jul 2012
    Location
    Poland
    Posts
    513
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    37
    Rep Power
    6
    local WARN_PLAYERS = {"Xxxx","Yyyyy", "Aaaa"}

    for i = 2, #WARN_PLAYERS do
    if isviponline(WARN_PLAYERS[i]) then
    setcavebot("off")
    settargeting("off")
    wait(2000,4000)
    closetibia()
    end
    end



    if 2 or more WARN_PLAYERS online xlog

    if 3 or more change "for i = 3" etc
    Last edited by mankey; 07-05-2014 at 10:34 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
  •