Results 1 to 2 of 2

Thread: if time X then close tibia

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    609
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    37
    Rep Power
    6

    if time X then close tibia

    Hey guys !
    I would like to bot during night and
    logout at time 6 am.

    Any hotkey? If time after 6am
    then close tibia?

    Thanks!

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    PHP Code:
    local TIME = {FROM '06:00'TO '06:30'CURRENT time()} 

    if (
    tosec(TIME.CURRENT) > tosec(TIME.FROM)) and (tosec(TIME.CURRENT) < tosec(TIME.TO)) then  
        closetibia
    ()
    end 

Posting Permissions

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